                             lg:px-2 lg:py-0 m-1 rounded
                             disabled:opacity-50 disabled:bg-gray-lightest disabled:pointer-events-none"
                       disabled={Tools.disabled?(:one, @selected_records |> length)}
-                      phx-click="delete"
-                      phx-target={@myself}>
+                      :on-click={"delete"}>
                 Yes
               </button>
               <button class="border border-gray bg-white hover:bg-gray-lightest px-1 py-0.5
                              lg:px-2 lg:py-0 m-1 rounded
                              disabled:opacity-50 disabled:bg-gray-lightest disabled:pointer-events-none"
                       disabled={Tools.disabled?(:one, @selected_records |> length)}
-                      phx-click="toggle_request_confirmation"
-                      phx-target={@myself}>
+                      :on-click={"toggle_request_confirmation"}>
                 No
               </button>
             </div>

                           lg:px-2 lg:py-0 m-1 rounded
                           disabled:opacity-50 disabled:bg-gray-lightest disabled:pointer-events-none"
                    disabled={Tools.disabled?(:one, @selected_records |> length)}
                    phx-click="show"
                    phx-target={@myself}>
                    🔍 Show
            </button>


                          lg:px-2 lg:py-0 m-1 rounded
                          disabled:opacity-50 disabled:bg-gray-lightest disabled:pointer-events-none"
                    disabled={Tools.disabled?(:one, @selected_records |> length)}
                    :on-click={"associate"}>
              ↔️ New association
            </button>

