Autosave when buffer looses focus.