[sr-dev] git:3.1: dialog(k): destroy dlg structure first time ref counter gets to 0