Dialog Stack bug

The condition was backwards. Dialogs would have been created if the
stack had MORE than we started with, not less.