Auto Save
You can maintain interval after which modified document will be automatically saved. Function does not work for new documents.
You can also request for auto saving on application deactivation using flag AutoSave - On Application Focus Lost in Tools→Options→General.