<%= render DialogComponent.new do |dialog| %>
  <% dialog.with_header(title: t(".edit", account: @account.name)) %>
  <% dialog.with_body do %>
    <%= render "form", account: @account, url: other_liability_path(@account) %>
  <% end %>
<% end %>
