disabling note add/edit submit button on click, re-enables only on error