             self.backgroundView.alpha = 0
             self.pickerContainer.transform = CGAffineTransformIdentity
             }) { _ in
-                self.dismissViewControllerAnimated(animated, completion: nil)
+                self.dismissViewControllerAnimated(false, completion: nil)
                 self.pickerContainer.removeFromSuperview()
                 self.backgroundView.removeFromSuperview()
         }

        }()
    
    private var backgroundView: UIView = {
        let blurEffect = UIBlurEffect(style: .Dark)
        let v = UIVisualEffectView(effect: blurEffect)
        v.frame = UIScreen.mainScreen().bounds
        v.alpha = 0
        v.userInteractionEnabled = true
        return v

        dispatch_async(dispatch_get_main_queue()) {
            let borderWidth: CGFloat = ImagePickerViewController.borderWidth
            let border = UIView(frame: CGRect(x: self.bounds.size.width - borderWidth, y: 0, width: borderWidth, height: self.bounds.size.height))
            border.backgroundColor = ImagePickerViewController.bgColor
            self.contentView.addSubview(border)
            let sendColor = UIColor.whiteColor().colorWithAlphaComponent(0.4)
            var sendImg = UIImage(named: "ic_send_48pt.png", inBundle: NSBundle(forClass: ImagePickerViewController.self), compatibleWithTraitCollection: nil)!
