<%= render DS::Dialog.new do |dialog| %>
  <% dialog.with_header(title: t(".edit", account: @account.name)) %>
  <% dialog.with_body do %>
    <%= render "investments/form", account: @account, url: investment_path(@account) %>
  <% end %>
<% end %>
