added thanksAlert var to second thank you alert

swapped out the second “thank you” alert with the thanksAlert variable