added newnote functionality (doesn't fully save yet)