rundialog: Fix usage of deprecated API