disable save button if record hasn't been changed + form bug fix