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

        }
    }
    
    func dismiss(completion:(() -> ())?)
    {
        guard
            

        previousController.beginAppearanceTransition(true, animated:true)
        currentController.beginAppearanceTransition(false, animated:true)
        
        let completionView:(() -> ()) =
        {
            previousController.endAppearanceTransition()
            
