viewControllers problem?
<p>Pushing the same view controller instance more than once is not supportedHi,
i have one normal UIViewCOntroller(home) in which i have IBAction Method like</p>

<pre><code>- (IBAction)goto1:(id)sender
{

self. goto1Controller.modalTransitionStyle =   UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:self. goto1Controller animated:YES];
}
</code></pre>

<p>it works fine. goto1Controller is a normal UIViewcontroller in which i have used one action
through userdefined Navigation controller through which i go to another controller like
  in self.goto1Controller</p>

<pre><code>- (IBAction)goto2:(id)sender
 {      
    [userdefNavController pushViewController:goto2Controller animated:YES];
[self presentModalViewController: userdefNavController animated:NO];
}
</code></pre>

<p>i come back from goto2Controller to  goto1Controller through</p>

<pre><code>     [self dismissModalViewControllerAnimated:YES];
</code></pre>

<p>it works fine...but when i use this same method([self dismissModalViewControllerAnimated:YES];) to go to home i have to press twice...
and also when i press  - (IBAction)goto2:(id)sender again after coming from goto2Controller
crash is happened..error also "Pushing the same view controller instance more than once is not supported"
any solution?
i have in my viewdidload as</p>

<pre><code> userdefNavController = [[UINavigationController alloc] initWithRootViewController:self];
</code></pre>
