Bug 1016977 - On WebSocket close dialogue prompts should also be closed