Validation for message content added