Set message when deleting entity

* Set message when deleting entity