<% if turbo_frame_request? %> <%= render DS::Dialog.new(width: "lg") do |dialog| %> <% dialog.with_header(custom_header: true) do %>
<%= render DS::FilledIcon.new(variant: :container, icon: "target", size: "md", rounded: true) %>

<%= t(".heading") %>

<%= t(".step1_subtitle") %>

<%= render DS::Button.new(variant: "icon", icon: "x", title: t("common.close"), aria_label: t("common.close"), data: { action: "DS--dialog#close" }) %>
<% end %> <% dialog.with_body do %> <%= render "form_stepper", goal: @goal, linkable_accounts: @linkable_accounts %> <% end %> <% end %> <% else %>
<%= render DS::FilledIcon.new(variant: :container, icon: "target", size: "md", rounded: true) %>

<%= t(".heading") %>

<%= t(".step1_subtitle") %>

<%= render "form_stepper", goal: @goal, linkable_accounts: @linkable_accounts %>
<% end %>