-window doesn't fire action events if close() is called multiple times