saving, updating, deleting widgets; widget dragging improvements