allow editing forms and write form inputs to local storage