Edited taking attendance. Still having trouble with registration. How to pass $event_id (shown in URL) to a modal?