configure click behavior on tags