The behavior you encountered is intended. The popover element only closes if a user clicks outside of it.