add select tab with index for gui calls