Dissmiss CalloutBox on native menu bar click

Hi
I have some calloutboxes in my app, they are working fine.
But I have a problem where, on OSX, the calloutbox does not close when the user clicks on the native manu bar of the app. Is there away to make the calloutbox close on this?