All checks were successful
CI / update (push) Successful in 1m12s
- Add setTimeout to defer modal.close() to next tick for proper Svelte binding updates - Add HTMLDialogElement type casting with null checks for modal elements - Add cancel event handlers to reset state when Escape is pressed - Ensures modals close reliably when Enter is pressed to submit - Prevents orphaned state when modals are dismissed with Escape