Exit fullscreen when javascript alerts are presented.
*** This bug has been marked as a duplicate of bug 185619 ***