[sr-dev] git:4:385d9be8: dialog: don't update dlg vars in db if in deleted state