We have a timer event that asks to extend the session using a radconfirm dialog. However, it's possible that some other event may have caused a radconfirm to be currently displayed. We've had difficulty getting the two to not overlap (e.g. the title bar message gets changed for the wrong one, content gets mixed). So, the approach we are currently trying to pursue is to force a close of the previously displayed dialog before displaying the next one.
It would be nice if radconfirm returned a handle to the dialog then all we would need to do is:
But, no such luck. Is there some jScript selector we can use to get the dialog?
The basic html layout we are using is:
<div id="dlg1" style="display:none">
<div id="dlg2" style="display:none">
Where just before the call to radconfirm we set the display to the appropriate dialog.