Adding support for custom dialog colors.