This is from the Annual Leave Booking demo.
Everything seems fine except when
modal.showUrl("scheduler_new.aspx?start=" + start.toStringSortable() + "&end=" + end.toStringSortable() + "&r=" + resource ));
When this opens the new.aspx page - the page_load never processes so the dropdownlist is empty.
The same problem when edit.aspx is opened the details do not populate the modal either.