fires after item adding is finished.
data.attachEvent("onAfterAdd", function (id, pos){ //any custom logic here });