this is a modal window.
beginning of dialog window. escape will cancel and close the window.
end of dialog window.