When you chain modal presentations together, you can dismiss them all at once by having the controller that did the original presentation call dismissViewControllerAnimated:completion:. So in, continueAction1, don't dismiss the first modal, just present the second one. In continueAction2, reference the first controller with self.presentingViewController.presentingViewController to do the dismissal:
[self.presentingViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
You can also do this with modal segues, in which case you can use an unwind segue in the last controller to go back to wherever you want, no matter how many modal segues were chained together.