Make touch dismiss popup