Contents:
Bases: wx.Dialog
wx.Dialog
Return the data as a dictionary.
Handle the OK button click.
Close the dialog.