Second click on the anchor closes the popup:
anchor
popup