It does appear to need this, although I don't really understand why. If you don't give it a variable, the code executes, but the window is not displayed.