js to open notes edit form