Clicking on `cancel` button in pipelines page does not ask for confirmation

Summary

Clicking on x (cancel) button on pipelines index page does not ask for confirmation, before canceling pipeline

What is the current bug behavior?

Clicking on cancel button on pipelines page should create a dialog and ask user to confirm action before canceling pipeline.

/cc @selfup @filipa @ayufan