Save button reset also on error, otherwise the button remains unclickable