This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
source: https://www.youtube.com/watch?v=BwmF_yUBIk8