FF requires explicit document.open() for new tab