use update popover to clear previous contents
explicitly hide popover instead of triggering an event