File delete confirmation popup keeps disabling the "confirm file deletion" option in settings

Steps to reproduce

  1. In settings->Files &Links → Confirm File deletion → Turn on.
  2. Open or create any note.
  3. Use command palette or shortcut to delete file from step 2.
    (Popup shows up with 3 options, that you cant choose from with keyboard. )
  4. On popup dialog, press enter.
    (note, tabbing does not show which of the 3 buttons has current focus as explained in reply below)
  5. File gets deleted as expected but also the setting: settings->Files &Links → Confirm File deletion gets turned off.
    (The popup assumes you pressed “Delete and dont ask again”.)

Expected result

File is deleted without changes in settings.

Actual result

File is deleted as expected but also the setting: settings->Files &Links → Confirm File deletion gets turned off.

Environment

  • Operating system: Win 10
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v1.0.0
    Installer version: v0.14.6
    Operating system: Windows 10 Pro 10.0.19043
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: Minimal
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 13
    Plugins enabled: 9
    1: Emoji Toolbar v0.3.2
    2: Hotkeys++ v0.2.7
    3: Minimal Theme Settings v6.1.0
    4: Style Settings v0.4.12
    5: Automatically reveal active file v1.0.2
    6: Spaced Repetition v1.8.0
    7: Mousewheel Image zoom v1.0.13
    8: Hotkey Helper v0.3.15
    9: Pane Relief v0.4.1

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.


Additional information

Not needed imo.

Update:
I just noticed that TABbing actually does change the focus of buttons in the confirmation dialog, but only cancel buttong gets the shadow (marked) when focused.

So basically for 2 options out of 3 you dont know which button is in focus.