Added touchevent to close modals