window: Switch cleanly to a new tab when it opens