hide popover if user clicks on next button