[TASK] Only persist on POST requests in EditDocumentController