use NSAlert for cocoa. Carbon support totally deprecated