fixed dogdialog problems