[UX] Cancel session modal uses "Cancel" next to "Cancel session"

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

Currently the cancel confirmation modal's footer has a dismiss button labeled "Cancel" directly beside the destructive "Cancel session" button. When the action itself is a cancellation, an ambiguous "Cancel" dismiss label makes users pause or click the wrong thing. Pajamas modal guidance is to use explicit labels (for example "Keep session running").

Affected files
  • ee/app/assets/javascripts/ai/duo_agents_platform/pages/show/components/agent_flow_cancelation_modal.vue

Proposal

Keep the "Cancel session" action copy and relabel only the ambiguous dismiss button:

Element Content
Title Cancel session? (unchanged)
Body Are you sure you want to cancel this session? This action cannot be undone. (unchanged)
Dismiss button Keep session running
Danger button Cancel session (unchanged)
Edited by 🤖 GitLab Bot 🤖