Oh, nevermind. Miguel_A is right; you can't stop the window from closing.
The alias i was using merely ensured that the @window contents were saved.

I should test before I post, eh? blush