class_docstr: Class to open dialogs.
  
  This class is intended as a base class for custom dialogs
class_docstr_tok: ["Class","to","open","dialogs",".","This","class","is","intended","as","a","base","class","for","custom","dialogs"]
docstr: Destroy the window
docstr_tok: ["Destroy","the","window"]
code: def destroy(self):
      """Destroy the window"""
      self.initial_focus = None
      Toplevel.destroy(self)
      _destroy_temp_root(self.master)
  
imports: from tkinter import *
  from tkinter import _get_temp_root, _destroy_temp_root
  from tkinter import messagebox
label_desc: Use image node_id 2 for calling the Dialog obj's underlying member method code with example usage: obj.destroy() without return types