In the template gallery, opening a preview and then clicking 'Open in new tab' could leave the preview window locked — impossible to close without refreshing the page. That's now fixed.
- Preview modal closes normally with the X button, Escape key, or clicking outside it
- No more forced page refreshes when browsing templates
- Jumping between tab and modal works without losing your place