maybe: alg = dlg.ui.algorithm_cbx