         
         // Set navigation controller delegate
         navigationController?.delegate = self
+    }
+    
+    // MARK: Appear/Disappear
+    override func viewDidAppear(animated: Bool) {
+        super.viewDidAppear(animated)
+        
+        isVisible = true
+    }
+    
+    override func viewWillDisappear(animated: Bool) {
+        super.viewWillDisappear(animated)
+        
+        isVisible = false
     }
     
     // MARK: Button actions

        return UIBarButtonItem(barButtonSystemItem: .Done, target: self, action: "doneButtonPressed:")
    }()
    private var doneBarButtonTitle: String?
    
    private lazy var bundle: NSBundle? = {
        // Get path for BSImagePicker bundle

    }
    
    func popoverPresentationControllerShouldDismissPopover(popoverPresentationController: UIPopoverPresentationController) -> Bool {
        return true
    }
    
