Hide the popover when click outside of the popover box