When you create a file in a program that uses the Common Dialog, it can overwrite a recently created file of the same name.

The problem is caused by a timing issue in which the common dialog box code is not synchronized with newly created files.