better closing of modal
improvements
Merge pull request #230 from 1aurabrown/master

@orta => better closing of modal