[sr-dev] git:tmp/dlgnewref: dialog(k): safety check for lookup in dialog table at shutdown