tooltip tab working with custom templates