In user interface design, a modal window (often called modal dialog because the window is almost always used to display a dialog box) is a child window, which has to be closed before the user can return to operating the parent application. Modal windows are commonly used in GUI systems to absorb user awareness and to display emergency states.