add grid set/get for edit mode
add grid-snap for grab mode