Window workaround for catching keystrokes


My plugin needs to catch keystrokes and since Ableton and such preventing keystrokes from the plugin
I have decided to open a new DocumentWindow as Jules suggested.

Now I need to handle the original window that was left, is there any way to hide it?