Save item to element data

Saving item from element attribute to element data changed
Now you can save whole object in it