touch event for edit