fires after data has been saved in DB
myForm.attachEvent("onAfterSave", function (id, xml){ //your code here });