Script not working correctly

Trying to implement the following script as mentioned in the steps for ” Basic Steps for Embedding” in here:

https://pcopeople.zendesk.com/hc/en-us/articles/360007983294-integrate-a-form-in-your-website

But instead of the form to open as a popup it opens in a new tab, which isn’t how it’s supposed to work. Please check the chat transcript for more info.