philkman PRO said over 1 year ago on Hotwire Modals :
Correction to my last answer: You need to add '@rails/ujs' first