A dialog box that could stay open during running of a script and where the values a user put in can be read at any time, would be very handy.
For instance to allow the user to say: stop after the next iteration. And would open an opportunaty for really interactive control.
Came here to post this - you beat me to it.
I'm pretty sure this has been requested before, and it will probably be requested again…but there is a HUGE difference code-wise between dialog boxes that take over the thread and dialog boxes that that run in parallel…plus Lua doesn't run in parallel. Best we could hope for is for the dialog to stay up, and a function in Lua that will periodically look up the current values of the dialog. That assumes that the regular GUI thread is the code that is operating the dialogs. Honestly, I don't see this being worked on short of hiring tlaloc for another 3 months.
I think it is impossible, devs please assign or trash.