title: popToRootViewControllerAnimated does not display root view controller
body: <p>I need a little help on a problem with navigation controllers.</p>
  
  <p>I have a <code>navigationController</code> with 4 <code>ViewControllers</code> pushed. The last vc I push presents a further <code>ViewController</code> modally. The modal <code>ViewController</code> presents an <code>ActionSheet</code>. Depending on the user's answer I either dismiss the modal <code>ViewController</code> only or I want to go back to the root <code>ViewController</code>. </p>
  
  <p>In the <code>ViewController</code> presented modally I have:</p>
  
  <pre><code>- (void) dismissGameReport
  {    
      [[self delegate] GameReportModalWillBeDismissed:modalToPopToRoot];    
  }
  </code></pre>
  
  <p>In the last <code>ViewController</code> pushed onto the <code>navigationController</code> stack I have:</p>
  
  <pre><code>- (void)GameReportModalWillBeDismissed: (BOOL)popToRoot;
  {    
      if (popToRoot) 
          {
          [self.navigationController popToRootViewControllerAnimated:NO];
          }
      else 
          {
          [self dismissModalViewControllerAnimated:YES];
          }            
  }
  </code></pre>
  
  <p>Dismissing the modal view controller works fine. 
  However, </p>
  
  <pre><code>[self.navigationController popToRootViewControllerAnimated:NO];
  </code></pre>
  
  <p>does not cause the root <code>ViewController</code> to display its views. Adding some log info I see that after the message to <code>self.navigationController</code> the stack is correctly popped but execution continues sequentially. The screen still shows the view of the modal ViewController. </p>
  
  <p>As a workaround I tried always dismissing the modal view controller and in the <code>ViewWillAppear</code> method have the <code>popToRootAnimated</code> message. No difference. Still the stack of controllers is popped but the screen continues showing my modal view controller's view and execution continues sequentially.</p>
  
  <p>Could someone help me please?</p>