The top property (number) specifies the Y position of the modal dialog in pixels.
DayPilot.Modal.top20Use this property together with DayPilot.Modal.left to position the dialog explicitly.
const modal = new DayPilot.Modal({
top: 40,
left: 20,
// ...
});
modal.showUrl("/dialog.html");