Opening editor when a cell is clicked