brendan.feltrupexum PRO said over 2 years ago on FullCalendar with StimulusJS :
  Sorry in advance! JS is not my strong suit. I'm still learning and its hard to keep up with all of it. 

This looks like it would work, but it keeps throwing an error with unknown option "closeModal". The modal does close but it seems to be refreshing the page to do this. I assume thats not supposed to happen. I see you declared "dismiss" in the targets but there is no further reference, maybe Im not seeing a hook to that. Originally when loading this I got another error about the closeModal not defined. 

I made one edit (in my quest to see what I am doing wrong) which still reads the same in source from reading stimulus/rails docs. You tell me if this is better or worse syntax?  
<%= button_tag "Cancel", data: { action: "calendar#closeModal"} %>

Thanks again!