Report Builder General Query

In report builder, on clicking ID it redirects to the doc of that id. I want to disable that thing and want to trigger something else (like opening a dialog box on click of that).

Any possibility of doing so ?

If you want it for any specific report then create your own Script report OR also you can achieve this using Page.

But If you want this for all then you need to change core files, which is not the correct way.