Quick bug fix for event on touching outside popover being sent twice