add window itself to windowstack instead of id (saves focusstate now) (reverted from commit 6ab008dd3e7c118f8e2e233c91ec3e4b6d115990)