How to implement a true modal ConfirmationDialog in Godot 4.0

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JG

I am writing an application that requires everything to stop while the user confirms an action. I am in a multi-windows environment using Godot 4.0

Has anyone faced the same problem? I have tried to use ConfirmationDialog but the user can click on other open windows that can still receive input while the dialog is open and waiting for an answer.

I want my application to totally freeze pending user input either confirming the action or cancelling it and as far as I can see it is not possible unless you are prepared to freeze the queue, insert a yield(), stop the timer and not even that works. Has anyone come across this issue?