Add support for showing a warning icon.