pointer for previous widget. The widget can be replaced in the meantime. * dlg.c (dlg_select_by_id): New function, essentially a cleaner implementation of dlg_select_nth_widget().