Save active tab before we stop engine