dialog: basic fix for dialogs
Merge branch 'dialogues' of github.com:msemenistyi/hurri into dialogues