Please don't ask WindowManager to do something because you're not its manager ;)
Let's use event dispatching/addEventListener instead.