snapping to grid added & edited