The documentation states that the return value is void and doesn’t mention that the event is blocking yet on line 2234 of dhtmlxscheduler.js there is the following code:
if (!this.callEvent("onDblClick",[id,e])) return;
If you attach an event listener to onDblClick and don’t return a value it blocks launching the lightbox.
This is in v4.2