got thank you submission to pop up via a modal using JS, but event trigger not functioning