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?


This does not answer the back button dilemma of the browser, but for three consecutive modals, you could have steps on top to tell the user about them such as shown here in the picture:

enter image description here

Image credits: https://dribbble.com/shots/4928879-Progress-Bar-Modal-Pop-up

| improve this answer | |

What if you seperate the modals from the browser back button-

On the form in the modal, have a back option to navigate the form. But only the form.

Pressing the back button on the browser will trigger the browser to say 'sure u want to exit? Info on the form will be lost'.

Or if they haven't filled it in the form then just back up without warning.

Thereby the browser back button sticks to controlling the top level of the information architecture.

This might provide a consistent sense of security for the user about the overall interaction model.

If I think I got your question.....

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.