Modified SGDocumentManager behavior to save new documents at the end of the array of existing documents