I am working application in which i calling presentModalViewController and once finished(calling dismissModalViewControllerAnimated:YES) it should
presentModalViewController
dismissModalViewControllerAnimated:YES
I guess, you are not calling the
[self.navigationController popToRootViewControllerAnimated:YES];
in the target modal viewcontroller. check that.