fix parentage of dlg_params