             speechSynthesizer.stopSpeakingAtBoundary(.Immediate)
         }
     }
+    
+    var shouldDismissWhenNextNodeIsEndState: Bool {
+        return true
+    }
 }

            
            presentViewController(alertController, animated: true, completion: nil)
            return
        } else if !tree.nextNodeIsAvailable {
            dismissViewControllerAnimated(true, completion: nil)
            return
        }

            return
        }
        
        // Do not transition if tree prevents it
        if tree.shouldPreventTransitionToNextTaskNode {
            // Present no selection alert
            let alertController = UIAlertController(title: "No Selection", message: "Please select one of the choices", preferredStyle: .Alert)
