Modal window with running code

Hello,

Is there any way to have modal window (without access to other windows) with continuing code ?
I open older RealSTudio multi window project to Xojo and I got into problems with this new “feature”.

Or is there any tip how to make other windows disabled for input while I want to use my modal window as non-modal ?
Is there any “window.enabled=false” workaround ?

Thanks

Martin

You could put your code in a thread so that it will run regardless of what is going on with the UI.