Bug 961569 - Fix modal dialog under mozfullscreen