Dismiss popover when user clicks elsewhere