Fixed set when file first opens, and prevents saving an open object.