add edit stop event listener