started implementing of entity delete modal, but something went wrong...