Visibility field value not kept if there are errors on the form

Steps to reproduce:
* Create a dataset within an org
* Select Visibility Public
* Click Next without entering a title

Visibility is now Private

Specially inconvenient on extensions that use single page forms