Disable dictionary dialogs and input gestures in secure mode
GitHub Advisory GHSA-wg65-7r23-h6p9:
Summary:
The following menu items are hidden from the menu in secure mode:
- Input gesture
- Default dictionary
- Voice dictionary
However it was still possible to assign gestures to the scripts which
open these dialogs.
Modifying speech dictionay or gestures from secure screens could result
in a denial of service.
If unexpected gestures or speech is being replaced, a user may be unable
to sign-in to Windows.
Description of change:
For these commands, return early without opening the dialog if NVDA runs
in secure mode.