title: popViewController not working
body: <p>I am having an issue with <code>popViewController</code>.</p>
  
  <p>I use <code>pushViewController</code> to go to <code>OrdersFormViewController</code></p>
  
  <pre><code>OrdersFormViewController *ordersFormViewController = [[OrdersFormViewController alloc] initWithNibName:@"OrdersFormViewController" bundle:nil];
  
  [self.navigationController pushViewController:ordersFormViewController animated:YES];
  [ordersFormViewController release];
  </code></pre>
  
  <p>From <code>OrdersFormViewController</code> I display a UIAlertView in <code>viewDidLoad</code> and call <code>popViewController</code> but this is not working.</p>
  
  <pre><code>UIAlertView* alertView = [[UIAlertView alloc]
                           initWithTitle:@"Error"
                           message:@"Error"
                           delegate:self
                           cancelButtonTitle:@"OK"
                           otherButtonTitles:nil];
  [alertView show];
  [alertView release];
  
  [self.navigationController popViewControllerAnimated:YES];
  </code></pre>
  
  <p>The view is not "popped" from the navigationController but when pushing the standard back button in the navigation bar, only the navigation bar changes and not the actual view.</p>
  
  <p>Does anyone have an idea why this is happening?</p>