added the possibility to attach a comment for sharing an entity