             views:views))
     }
     
+    //MARK: actions
+    
+    func actionDone(sender button:UIButton)
+    {
+        controller.parent.dismiss()
+    }
+    
     //MARK: public
     
     func animateBlur()

        buttonDone.setTitleColor(UIColor.whiteColor(), forState:UIControlState.Normal)
        buttonDone.setTitleColor(UIColor(white:1, alpha:0.2), forState:UIControlState.Highlighted)
        buttonDone.setTitle(NSLocalizedString("VChatDisplayOptions_buttonDone", comment:""), forState:UIControlState.Normal)
        
        blur.addSubview(visualEffect)
        base.addSubview(buttonDone)

    private let kCornerRadius:CGFloat = 4
    private let kBaseMarginVertical:CGFloat = 40
    private let kBaseMarginHorizontal:CGFloat = 10
    private let kButtonDoneHeight:CGFloat = 40
    
    convenience init(controller:CChatDisplayOptions)
    {
