Support for callbacks for native toolbars, buttons, etc. MacOSX