Add click tab directive