Fix for "if you drag the area outside of the modal window it will close the modal"