forgot to skip the close event when not canceling it