implement reopen note and don't save a note if its not modify