fixed bug with modal close event
Merge pull request #6 from mlcollins10/master

fixed bug with modal close event