Fix JS to open popup when creating new subdomain