fires after the branch has been closed
some.attachEvent("onAfterClose", function(){ //... some code here ... });