add tab and modal