You can add a close button to the marker menu. Right-click on a marker to open the menu and click on the close button to hide the menu!