adjusting popover dismiss method to allow for picking corner