Update dialogs.py