Redirect to level editor only after modal hidden event is triggered. Fixes #438.
Merge pull request #441 from yangshun/level-editor-freeze

Redirect to level editor only after modal hidden event is triggered. Fixes #438 and #439.