I have view controllers A, B, C, D. Current view controller is A.
I need to present D from A. And then when I dismiss D I should see C. When I dismiss C, I should see B.
It's easy to implement with navigation controller stack, but I don't know if it's possible to implement this with modal view controllers stack.