Adds confirm prompt when deleting a task