G4P - Checkbox grid

Wow! Thanks for the example!
So, this is almost what I need, I just need to put this in a separate window.
In special an window that pops up if I click a button, but this I can handle by myself.

How can I draw the grid in another window?