Added editing framework, snapping to click works