I have an MDI doc/view with normal serialization for saving (it saves as myfile.cpw). I've added an option to the CFileDialog so the user can save the contents of the edit boxes as a text file if they want (the default is myfile.cpw). Everything works great except... when it comes back to the main view the document name changes to myfile.txt and the next save saves it as myfile.txt. I'd like everything to revert back to how it was as if no save function has taken place. In other words, I want the user to be able to save it as a text file, but when they come back it basically hasn't affected anything. It still says myfile.cpw and is still dirty (if changes were made since the last "myfile.cpw" save). I'm assuming I have to collect the original doc name and put it back after the functions, but I'm not sure where that's kept or the best way to handle it. Thanks.