Fix modal window
Merge pull request #817 from typesafehub/wip/fix-firefox-moodal

Fix modal window