Validate configurations before saving