Whoops closing undocked tabs makes the active content null

tabs=more fixed lol