Project: moodle
Issue MDL-44079: Pressing escape in nested modal dialogues should only close the top dialogue
If you open a filepicker, search for and preview a file, then press escape, all modals are closed instead of just the top one.
Story points: 5