Revert "Re-fix bug that prevented run now dialog from opening from the pending tasks page"
Revert "Re-fix bug that prevented run now dialog from opening from the pending tasks page"

This reverts commit 857c495ee3166fa83b525f82a44fe7ed3f2169ce.
It broke the build

grepsr/Singularity,andrhamm/Singularity,grepsr/Singularity,HubSpot/Singularity,HubSpot/Singularity,andrhamm/Singularity,hs-jenkins-bot/Singularity,grepsr/Singularity,HubSpot/Singularity,andrhamm/Singularity,grepsr/Singularity,hs-jenkins-bot/Singularity,andrhamm/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,andrhamm/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,HubSpot/Singularity,grepsr/Singularity,grepsr/Singularity