4b9ffaab62
With askBeforeDelete off, clicking ✕ on the entry being edited trashed it and closed the editor with no prompt whatsoever — a misclick cost the edits silently. That path now runs the discard gate (no-op unless dirty). When askBeforeDelete is on, its own confirm still stands alone: one modal. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>