Don't trigger autosave on focus change in modals (#45166)

Closes #28732

Release Notes:

- Opening the command palette or other modals no longer triggers
auto-save with the `{ "autosave": "on_focus_change" }` setting. This
reduces the chance of unwanted format changes when executing actions,
and fixes a race condition with `:w` in Vim mode
25e1e2ecddBen Kunkle committed on 12/17/2025, 10:42:18 PM· committed by GitHubparentf2d29f4
1 file changedLine totals unavailable