fix missing switch to dialoghelper