fixes modal close
Merge pull request #118 from eklyman/master

fixes modal close