Currently I have an structure of PopUps and I’ve been thinking to use Chain of Responsibility pattern, but the difference is a popup can back to previous one PopUp and also can go to any other PopUp.
I’ve been thinking to use chain of responsibility, but I think maybe is not the Ideal once chain of responsibility only goes forward.
Can you help me in this case? Which should be the best pattern? I thought something like a layer structure or something like.