I have a modal that displays the details of an user or product (view mode). You can click the edit button to show the form (edit mode).

enter image description here

Pressing Cancel will bring you back to View mode. And clicking close will close the modal (same as clicking X).

I'm not sure if this is good UI/UX. I guess I'm worried that the user will think that Cancel actually closes the modal. Or maybe that won't be an issue since they will eventually see the Close button anyway?

  • 1
    Is the display mode necessary at all, and if so, why is it a modal? Should it block what's behind it? Modals get overused a lot and that always causes these types of design issues, so it might be a good idea to rethink that.
    – jazZRo
    Mar 18 at 13:10
  • @jazZRo Actually, it could just be a profile page. You suggest I just turn it into a profile page?
    – wyc
    Mar 19 at 1:22

1 Answer 1


you can skip close button on view mode which will give user clear idea how to navigate

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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