Delete all code in the new note view.