Fix modal hide problem
Merge pull request #322 from krazemon/hide

Fix modal hide problem