Add configuration check for viewmode.