Open devtools and watch the close reason: selection, outside-click, escape
selection
outside-click
escape
This menu uses modal=true, so a backdrop is shown and outside click closes the menu.
modal=true