Update dialogs_legacy.py

Tweak based on feedback from Adam Twardoch