     public override func viewWillDisappear(animated: Bool) {
         self.removeObservers()
         super.viewWillDisappear(animated)
-    }
-    
-    //MARK: Actions
-    @objc private func dismiss() {
-        self.dismissViewControllerAnimated(true, completion: nil)
     }
     
     //MARK: Elements

    public private(set) var preferredStyle: UIAlertControllerStyle = .Alert
    
    // Customizations
    var manageKeyboard:Bool = true
    var autosortActions:Bool = true
    var buttonShadows:Bool = true

    @objc private func didTapButton(sender:UIButton) {
        let a = self.actions[sender.tag]
        a.handler?(a)
        if self.autoDismiss {
            self.dismissViewControllerAnimated(true, completion: nil)
        }
    }
    
    private func closeKeyboard() {
