Add a default callback for window:create events