text: Title: website broken: Create a new dataset repository, doesn't create a new repo in Firefox
  Body: ### Describe the bug
  
  This issue is also reported here:
  https://discuss.huggingface.co/t/create-a-new-dataset-repository-broken-page/102644
  
  This page is broken.
  https://huggingface.co/new-dataset
  
  I fill in the form with my text, and click `Create Dataset`.
  ![Screenshot 2024-08-16 at 15 55 37](https://github.com/user-attachments/assets/de16627b-7a55-4bcf-9f0b-a48227aabfe6)
  
  Then the form gets wiped. And no repo got created. No error message visible in the developer console.
  ![Screenshot 2024-08-16 at 15 56 54](https://github.com/user-attachments/assets/0520164b-431c-40a5-9634-11fd62c4f4c3)
  
  # Idea for improvement
  
  For better UX, if the repo cannot be created, then show an error message, that something went wrong.
  
  # Work around, that works for me
  
  ```python
  from huggingface_hub import HfApi, HfFolder
  repo_id = 'simon-arc-solve-fractal-v3'
  api = HfApi()
  username = api.whoami()['name']
  repo_url = api.create_repo(repo_id=repo_id, exist_ok=True, private=True, repo_type="dataset")
  ```
  
  ### Steps to reproduce the bug
  
  Go https://huggingface.co/new-dataset
  
  Fill in the form.
  
  Click `Create dataset`.
  
  Now the form is cleared. And the page doesn't jump anywhere.
  
  ### Expected behavior
  
  The moment the user clicks `Create dataset`, the repo gets created and the page jumps to the created repo.
  
  
  ### Environment info
  
  Firefox 128.0.3 (64-bit)
  macOS Sonoma 14.5
  