jcquarto said about 2 years ago on Hotwire Dashboards :
you've correctly described what worried me. I probably would have hundred of cards from which I want to click to see the modal for more details, but only ever click on a few. So yes, it doesn't make sense to have a 1:1 of card to modal. I'd rather just have one modal, and re-write its content as a card is clicked (based on data from the card, likely just an id for Rails to call -- roughly 'card_modal_path(17)', that sort of thing)