PRD-3965 Fix for dialog freezes when a message box is launched from XUL dialog. (Fixed as part of impl; not logged in separate JIRA)