display correctly errors (if any) while saving a document
display correctly errors (if any) while saving a document