improve confirm encoding view

* do not double check if adding a preselected file already triggered a
  check
* ensure selection and summary html are reset after save
* for the save callback to fire, the reponse has to be valid json not
  just a HEAD