fix a dialog regression
Merge pull request #2574 from devoncarew/devoncarew_dialog_regression

fix a dialog regression