Added in some click functionality to the editor