Open url deluge task on page

Open url deluge task on page

Does the openUrl task not function on page scripts? 

For my particular case ive been attempting to create a popup window on the dashboard page for certain users. I've edited and reedited my code multiple times to no avail. The same code functions in a form workflow, so now im scratching my head.