close popover on click