I think this is better and avoid dependency on `ignoreWindow`.

```js
return options.private ? null : newWindow
```