Validation for comment action