Change Dialog class to make it more generic.
Added Toplevel widget.
Added Dialog widget.