Add confirmation option when disconnecting as a follower in Remote Access (#18044)
Fixes #18041
Summary of the issue:
Accidental disconnection as a follower in Remote Access can cause loss
of control, especially for physically inaccessible computers.
Description of user facing changes
- Added a "Confirm when disconnecting as a follower" checkbox to Remote
Access settings (enabled by default).
- When enabled, NVDA will show a confirmation dialog before
disconnecting from a remote session as a follower.
Description of development approach
- Added the `confirmDisconnect` option (default: True) to the Remote
Access settings and configuration.
- In `client.py`, updated the `disconnect` method to show a confirmation
dialog if the option is enabled and the client is in follower mode.
Testing strategy:
Manual testing