[sr-dev] git:3.1: modules_k/dialog: Fix a bug that would cause a segfault when