Convert ResultDialog in an independent wx.Frame