Your DIALOG global is working brilliantly Robert - that's excellent work for sure. I think McCourt is going to contact you separately to mention a couple of points he's discovered in its use.
We have been wondering if some of this code could be applied to other controls in web client too.
For example, we change the colour of menus to show that they have registered a click and then after the function has run we change the colour again to show it is the selected menu item and it's ready to work.
With WC obviously this doesn't work for the same reason the Dialogs don't - the WC code is just run without halting to allow the called procedures to run before completing, hence the UI changes are too fast to register.
We figured there may be some method in your global that we could apply to halt the code execution whilst other functions are run, and then return and complete the UI stuff, but the concept doesn't seem to apply in this context. Or perhaps we have missed a point or two.
What's your view on using continuations in this context Robert? Possible - Sensible???