use the Cocoa API to show the Dock icon