Popup blocks focusing other apps on single click (GTK)

in nautilus, if i open file rename popup to copy file name, after copying, if i click on chrome to paste it doesn’t focus.
the first click on chrome (any app) does not trigger focus, instead it closes the popup. then the second click makes chrome focus.

my request is to make all popup like this one close and focus the app i click in one go.

there are other app that act like this for example in easy effect the presets selector.

You can continue your discussions in https://discourse.gnome.org/t/popup-blocks-focusing-other-apps-on-single-click/25784.

There is no need to create duplicate topics.