Should the browser page present modals as well as pages?


I'm looking for advice on best practices.

Currently, using the browser back button, our site pages cycle through not only the pages but all of the modals used – if the modals were part of a “ series '' & # 39; & # 39; (for example, three consecutive modals for capturing information), the first modal in the series is presented.

Personally, I think this is confusing because the context of the modal can be lost – because the context is developed using a journey forward. However, I have no idea that this would be considered best practice.

Does anyone have any advice?

Thank you