spawning tab now happens as an event.