Multiple windows with idle for user response

Hi all,

I was wondering if it is possible with processing to create a second window but with blocking implementation.
I know that Processing examples as a multiple window sketch, but in that example, I can interact with the other window. I would like to create something like a second window that waits for user response or waits until the window is closed, before returning to the main window sketch. Is it possible?

Thanks in advance!