onBeforeSave & onAfterSave issues with Lightbox

Thanks! I’ll test it out. Why the save function then? Also, any idea why onAfterSave does not work in a lightbox? I’m trying to automatically close the light box. Right now, I’m using error detection in onBeforeSave() with a delay. If no errors are detected, I then delay the close, giving enough time for the data to save to the database.