Set NSAlertStyle from message type for showMessageBox