title: How to create a new window like a message box?
body: <p>Hi guys hope you are doing well, i can't understand how to create in Tkinter a new window for example when i press a button that is like a message box, i mean creating a new window and i can't go back to the previous/main window until i close or press ok in the new window. How to simply create a new window and the user can't click the main window and can't go away until he close it just like happen in the message box ?? Thanks! Here is a basic starting code, how to bind this window that i'm talking about to the button?</p>
  <pre><code>from tkinter import *
  window = Tk()
  window.geometry(&quot;300x300&quot;)
  button = Button(window,text=&quot;Click here&quot;)
  button.pack()
  window.mainloop()
  </code></pre>