From 46025ca7e1e355cca66fe546c5e54634d5ce33a7 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 17 May 2026 21:05:39 -0400 Subject: [PATCH] Replace close-project browser confirm with in-app modal Both Close project buttons (template editor and disc designer) now open a styled closeProjectModal with three actions: Save and close (primary), Close without saving (danger), and Cancel. Save errors are shown inline in the modal rather than triggering another native alert, so the close flow never falls back to the browser dialog. Co-Authored-By: Claude Opus 4.7 --- src/index.html | 108 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 84 insertions(+), 24 deletions(-) diff --git a/src/index.html b/src/index.html index 5e9f92a..c29785c 100644 --- a/src/index.html +++ b/src/index.html @@ -2674,6 +2674,19 @@ + +