It seems the calendar returns the id
as a string (https://fullcalendar.io/docs/v4/event-object), so it doesn’t match the data detail key.
To fix this use the to number formatter in the click event, so the code becomes like:
dmx-on:eventclick="modal1.data_detail1.select($event.event.id.toNumber());"