<nav data-controller="dialog" data-action="keydown.esc->dialog#close click@document->dialog#closeOnClickOutside" data-turbo-permanent>
  <%= render "my/menus/button" %>

  <%= tag.dialog class: "boxcar-menu filter popup panel margin-block-start-half",
        data: {
              action: "turbo:before-cache@document->dialog#close keydown->navigable-list#navigate filter:changed->navigable-list#reset filter:changed->nav-section-expander#showWhileFiltering toggle->filter#filter",
              controller: "filter navigable-list nav-section-expander",
              dialog_target: "dialog",
              navigable_list_focus_on_selection_value: false,
              navigable_list_actionable_items_value: true } do %>
    <%= turbo_frame_tag "my_menu", src: my_menu_path, target: "_top" %>
  <% end %>
</nav>
