Implement `create new note' functionality.