Show "Confirm Delete" dialog for files, too

For #8651 and #10190
I could think of another wording in other languages, like `Delete file`/`Delete folder`. That's what Windows does, too.
But it's not a problem to use only one if that's what you want.