         }
     }
     
-    func dismiss(completion:(() -> ())?)
+    func dismiss(centered:Bool, completion:(() -> ())?)
     {
         guard
             

        previousController.beginAppearanceTransition(true, animated:true)
        currentController.beginAppearanceTransition(false, animated:true)
        
        viewParent.dismiss(currentController:currentController)
        {
            previousController.endAppearanceTransition()
            

            currentController.endAppearanceTransition()
            
            completion?()
        }
        
        if centered
        {
            viewParent.dismiss(
                currentController:currentController,
                completion:completionView)
        }
        else
        {
            viewParent.dismissBelow(
                currentController:currentController,
                completion:completionView)
        }
    }
    
