It is possible to create routes with dynamic hierarchies?
I need to define a route to a modal, and preserve the view of the previous route, and this modal can be accessed from the application of the index or any other route.
example:
/ modal Maintains the view of the home and displays the modal.
/ sub-page / modal Keeps view of sub-page and displays the modal