Sort out deleting attached text