fires when the user clicks on the 'Cancel' button in the lightbox
gantt.attachEvent("onLightboxCancel", function(id){ //any custom logic here })