Expose a hide on click function

This allows for element-targeted closing of the popover (e.g. via a close button within the popover template).