[sr-dev] dialog: possible race condition/segfault