-Fix issue where when live_save is off, the editor hangs on close