fix bug for submit button in form to create new note