fix the functionality for preventing a button from closing the modal
option for removing modal on hide
Merge pull request #8 from lgandecki/master

fix the functionality for preventing a button from closing the modal.