The saving part is actually quite odd :)
I get innerHTML (with inline css to position the elements correctly) of the layout where you can insert objects and save it to database.
This is awesome. Maybe, you can store the current elements coordinates to prevent overlapping on top of each other when you click multiple elements at the same time. Not a biggie. Love it.