[sr-dev] git:4:39d1b8f8: dialog: keep slot locked when searching for duplicate dialog