add click behavior