test clicking and modal