title: Remove modalViewController from view?
body: <p>I have a view which pulls in another view using this code:</p>
  
  <pre><code>secondView = [[SecondView alloc] init];
  
  UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:secondView];
  navigationController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
  
  [self presentModalViewController:navigationController animated:YES];
  [navigationController release];
  </code></pre>
  
  <p>The cancel button on this 2nd view has this:</p>
  
  <pre><code>[self.navigationController.modalViewController dismissModalViewControllerAnimated:YES];
  </code></pre>
  
  <p>But it doesn't appear to do anything. The view is still there and I can still interact with it. How do i remove it?</p>