WIP rsvp templating - add modal function to js