Fix a variable name typo in output/dialog.py