[sr-dev] git:master:0acd9c91: dialog: added dlg_update_state() function