code: def on_end_validation(self, event):
          
          self.Enable()
          self.Show()
          self.magic_gui_frame.Destroy()
docs: Switch back from validation mode to main Pmag GUI mode.
          Hide validation frame and show main frame.