Description
When you click outside a task (or hit escape), our NERModal closes and the form resets, same as hitting cancel button. This keeps happening by accident. Form state shouldn't clear unless the user explicitly clicks 'cancel'.
Acceptance Criteria
- clicking outside the modal or pressing escape no longer closes it or clears the form; only clicking cancel does
Proposed Solution
- in NERModal.tsx, change Dialog's onClose={onHide} to receive (event, reason) and ignore backdropClick/escapeKeyDown instead of always calling onHide
Mocks
No response
Description
When you click outside a task (or hit escape), our NERModal closes and the form resets, same as hitting cancel button. This keeps happening by accident. Form state shouldn't clear unless the user explicitly clicks 'cancel'.
Acceptance Criteria
Proposed Solution
Mocks
No response