The onEventRightClicked event handler is fired after the default event click action (defined using eventRightClickHandling property).
DayPilot.Queue.onEventRightClicked(args);
dp.onEventRightClick = function(args) {
DayPilot.Modal.alert(args.e.text());
};