I know that `domwindowclosed` will fire :) the problem I see is that the listener could be gc'd before that.