fixed view issue when empty note form is submitted