Pro gallery expansion

Question:
When someone clicks an item in my pro gallery to expand it opens in the same window/page, so if they use their browsers back arrow, instead of the “X”, they back up a full page to the page before…

Product:
Wix Studio Editor

What are you trying to achieve:
Can I make the item expand into a pop-up or new tab instead?

What have you already tried:
Expanding to a full page, so they don’t have access to their browser’s back button. This does not work in ios or chromebook, etc.

Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]

With code you can generate everything (almost).