[sr-dev] git:master:5c38b53b: dialog: check for message struct before accessing the fields