Use lookup table for the dialog icon conversions.