UI issue with quality of life impact. Hitting Escape key on the new Signature creation modal currently exits the modal without confirmation by user, flushing in progress rule edits and losing work.
It would be better to only allow the modal to be closed with an explicit action (hitting X in the corner, or a close/discard button), and it should have a confirmation dialog to the user.
Reproduce:
Navigate to Signatures (/#!/yara_rules)
Click Create Signature; Create Signature Artifact modal is rendered
UI issue with quality of life impact. Hitting Escape key on the new Signature creation modal currently exits the modal without confirmation by user, flushing in progress rule edits and losing work.
It would be better to only allow the modal to be closed with an explicit action (hitting X in the corner, or a close/discard button), and it should have a confirmation dialog to the user.
Reproduce:
/#!/yara_rules
)This occurs on creation and edit dialogs.