Fix reseting the window title on save