-1

Hi im new to this site so apologies, if ishouldnt be asking questions like this

i am trying to get my spreadsheet to display a url in a overlay window when i click my button the script is running but does not open the overlay window. can anyone help this is what im dealing with

function tasktracker() 
{var button = CardService.newTextButton()
.setText("tasktracker")
.setOpenLink(CardService.newOpenLink()
.setUrl("https://docs.google.com/forms/d/e/1FAIpQLSfWmoWs47RRwQRA2k1UfsBt6P7u-Ivl8JyFXZ9OFJ9ZOb4PmQ/viewform")
.setOpenAs(CardService.OpenAs.OVERLAY)
.setOnClose(CardService.OnClose.RELOAD_ADD_ON));}

manifest file>>>

{
  "timeZone": "Europe/London",
  "dependencies": {
  },
  "exceptionLogging": "STACKDRIVER",
  "runtimeVersion": "V8"
}
  "urlFetchWhitelist": ["https://docs.google.com/forms/d/e/1FAIpQLSfWmoWs47RRwQRA2k1UfsBt6P7u-Ivl8JyFXZ9OFJ9ZOb4PmQ/viewform"
  ],"openLinkUrlPrefixes": ["https://docs.google.com/forms/d/e/1FAIpQLSfWmoWs47RRwQRA2k1UfsBt6P7u-Ivl8JyFXZ9OFJ9ZOb4PmQ/viewform"]