I have a menu associated with a button. When I have the menu open and I click anywhere in my application, the menu disappears - except when I click in my OpenLayers map. This leaves the menu open until I click on any ExtJS component.

How do I tell the menu to disappear when I click inside the map? Or what do I tell the OpenLayers framework to listen for, so that it might be kind enough to ask the ExtJS menu to close?

Regards, Casper