If we submit the form, and there’s an error, the URL would be `/dossiers/:id`, therefore `dossier_path(dossier)`, so the Résumé tab would be active, not the messagerie tab. This change prevents this behaviour.