allows editing a form element by clicking on it