I was working on OpenYR’s Save menu and tried removing a save while its overwrite dialog was open. The old handler still reported “Match saved” when I pressed Yes. It had checked the file when it opened the dialog, then trusted that answer when it wrote the save. OpenYR’s overwrite regression
I moved a regular-file check into the Yes handler. It uses std::fs::symlink_metadata to check the entry at the confirmed path without following a symlink.1 If the file is gone or the entry has become a directory or link, the menu shows an error. Dismissing it opens a refreshed Save list with the name field cleared and no selected slot.

The fallback menu at tick 3 in the Linux test with synthetic match data. OpenYR proof frames and test recording.
The regression checks that all three cases preserve the existing quicksave and the paused match’s queued order. It also checks that a fresh confirmation of a regular file writes the expected snapshot. The check covers changes while the dialog is open. A different regular file at the same path still counts as the same slot.