Dialog.py: d.num should be numeric, not string
Tkinter.py: on destroy(), remove self from master's dict of children
4 files changed