in src/Popout.tsx [296:298]
function isChildWindowOpened(child: Window | null) { return child && !child.closed; }