Added functionality to trigger edit form on element click, not only h3