I have developed a module that I want to emulate modal dialogs.
I can be used to present the user with dialog panels.
It has a “confirm” style dialog and I want it to emulate the
built in confirm dialog by blocking until the user clicks one of the
buttons in the panel.
Presently, the way to do that is to provide a method for installing
a call back function that runs the subsequent code based on positive
or negative result. But that fragments code and can be a problem in
Is there a way to do this?
possibly beyond using setTimeout ?
Thank you for time and attention;