I was also facing the same issue, I found this to solve my issue:
<%= button_to "Destroy this blog", @blog, data: { confirm: "Are you sure?", turbo_confirm: "Are you sure?" }, method: :delete, class: "btn btn-primary my-2 my-sm-0" %>
where this is the main code for the alert
data: { confirm: "Are you sure?", turbo_confirm: "Are you sure?" }
Note: It does not matter what you put in the confirm part of the data, just change the text in turbo_confirm to view the changes made.