are you familiar with the bug or maybe two different ones
where on a save as dialog you rename an unrelated file, then it defaults the save filename to that renamed file, so you change it, and hit save, then it says "this will replace x file"
similarly on that same dialog with deleting the file something similar happens.