Prevent empty note from being saved