made note edit form a modal, formatted it, removed redundant js that was breaking editing in place and menu bar