You don't have to be restricted to just using htmx, you can use it with client side Javascript to give you that interactivity you need in the places you need it.
Indeed, the creator of htmx has created another library called hyperscript which he's described as a companion to htmx.
https://hyperscript.org/