close new file after save