completely refactors localSaveForm, fixes textarea and form editing

localSaveForm method moved to form model