rundialog: Clean up coding style