 		})
 		alert.addAction(acttion)
 		viewcont.present(alert, animated: false, completion: nil)
-		return .Stop
+		return .Cancel
 	}
 	#endif
 

		let alert = NSAlert(error: err)
		alert.alertStyle = codeToStyle(error: err)
		switch alert.runModal() {
		case NSApplication.ModalResponse.stop:
			result = .Stop
		case NSApplication.ModalResponse.abort:
			result = .Abort
		case NSApplication.ModalResponse.continue:
			result = .Continue
		default:
			result = .Abort
		}
		return result
	}

public class KCAlert : NSObject
{
	public enum AlertResponce {
		case OK
		case Cancel
	}

	public enum SaveResponce {
