save button is shown only if input is valid
improved error mechanism