Detecting tap outside of the presented popup view controller.