Now it's usable :)
fire window closing event