How do I assign the event handler to the modal so it works?
edit, ignore comment above:
What I meant to say is, after I attached the event handler to a button, how do I bind all this to the modal?
I understand how to use assigns to set variables. The main problem I am having is I don’t know how to toggle the state of the actual modal.






















