     public private(set) var preferredStyle: UIAlertControllerStyle = .Alert
     
     // Customizations
+    var autoDismiss:Bool = true
     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)
        self.dismiss()
    }
    
    private func closeKeyboard() {

    public override func viewWillDisappear(animated: Bool) {
        self.removeObservers()
        super.viewWillDisappear(animated)
    }
    
    //MARK: Elements
