Strictly speaking, this doesn't create a new window upon each submission. If the form is submitted several times, the first submission creates the window but then that window is reused. This is probably better than creating a window for each submission. (Implementing the latter is more complicated.)