add name validation to customer dialog