Implement refreshing the whole dialogue box with dlg_refresh, so that