fix:  Pop-up Menu cannot close when clicking outside it (#3950)
fix:  Pop-up Menu cannot close when clicking outside it (#3950)

When click outside the menu, it doesn't close.
Ref: https://github.com/nodejs/nodejs.org/issues/3907
nodejs/new.nodejs.org,nodejs/new.nodejs.org