Added touchevent to prevent closing of modals when content tapped