fixed modal closing
Merge pull request #74 from patrickdmccarthy/modalPropagation

fixed modal closing