added a validate method to the note model that returns 'The note is not ...

...empty.' if the note is not null