Adds click example, changes document event