When you stop in an event script, like what happens with any of the system.gui.* popup boxes, the rest of the gui freezes. So, no. Something close to what you want can be done with completable futures. Start here:
When you stop in an event script, like what happens with any of the system.gui.* popup boxes, the rest of the gui freezes. So, no. Something close to what you want can be done with completable futures. Start here: