Should browser page back present modals as well as pages?

Currently, on using the browser back button, our site pages back through not only the pages but any modals used. So if the modals were part of a 'series' (e.g. three consecutive modals to capture information) the first modal in the series is presented.

Personally, I feel it is confusing as the context for the modal may be lost - since context is developed using a forward journey. However I have no idea what would be considered best practice.

Does anyone have any advice for best practice?