Dismisses from tapping the background surrounding the image