post save hook for decrypting documents