<%# locals: (title:, back_path: nil) %> <%= render DS::Dialog.new do |dialog| %>
<% if back_path %> <%= render DS::Link.new( variant: "icon", icon: "arrow-left", href: back_path, size: "lg" ) %> <% end %> <%= title %>
<%= icon("x", as_button: true, size: "lg", data: { action: "dialog#close" }) %>
<%= yield %>
<% end %>