In the template gallery, if you opened a live preview in a new tab and then came back, the preview modal would freeze and couldn't be closed without refreshing the page. That's now fixed.
- Template preview modals close normally after you've opened them in a new tab
- No more forced page refresh to get unstuck
- Esc key, backdrop click, and the X button all work as expected again