autosave and message when save fails.