Events are only defined for a certain state of the DataView user interface. This is selected in the Status field.
If you create events for the three mask states, the keyboard functions will be available in all open masks. You can protect individual masks from the execution of functions with wide-ranging consequences. Detailed information on that topic can be found in
-> Lock Search Event for Individual Masks or in the corresponding sections of the other standard functions in masks.