     }
     
     @IBAction func goButtonTapped(_ sender: Any) {
-        if (self.tapGoCallback == nil) {
-            print("Set tapGoCallback")
-            return
-        }
-        
-        self.tapGoCallback!();
+        dismissView(actionTaken: ActionTaken.TappedGo)
     }
     
     @IBAction func notificationTapped(_ sender: Any) {
+        dismissView(actionTaken: ActionTaken.Dismissed)
+    }
+    
+    func dismissView(actionTaken: ActionTaken) {
         self.superview?.layoutIfNeeded()
         
         self.label.text = ""

            self.superview?.layoutIfNeeded()
        }) { (finished: Bool) in
            if finished {
                if (self.tapCloseCallback != nil) {
                    self.tapCloseCallback!();
                }
            }
        }
        
        
    }
}

    var contentView : UIView?
    
    public var tapGoCallback : (() -> Void)?
    public var tapDismissCallback : (() -> Void)?
    
    override public var backgroundColor: UIColor? {
        didSet {
