(dlg_set_top_or_bottom_widget): move to proper file section.