Describe the bug
Pressing the esc key closes the modal import dialog, even if the active focus is not on the import dialog itself (e.g. pressing the info button on a card in the dialog and pressing esc when the info window is visible).
To Reproduce
Steps to reproduce the behavior:
Press the + button
Add a Knowledge Source
Click the info button on the Knowledge Source
Press esc
This action closes both the info dialog and the import dialog
Expected behavior
The previous sequence should only close the info dialog and not the import dialog. Or, at a minimum, the user should be prompted to confirm closing the import dialog when there is at least one Knowledge Source waiting to be imported.
Operating System (please complete the following information):
Describe the bug Pressing the
esc
key closes the modal import dialog, even if the active focus is not on the import dialog itself (e.g. pressing theinfo
button on a card in the dialog and pressingesc
when theinfo
window is visible).To Reproduce Steps to reproduce the behavior:
+
buttoninfo
button on the Knowledge Sourceesc
info
dialog and the import dialogExpected behavior The previous sequence should only close the
info
dialog and not the import dialog. Or, at a minimum, the user should be prompted to confirm closing the import dialog when there is at least one Knowledge Source waiting to be imported.Operating System (please complete the following information):