[Homepage] Cannot go back to the homepage after clicking on the edit icon in a widget (using the Strapi back button or my browser back button)
## Bug report

### Required System information
- Community
- Mac
- Local


### Describe the bug

I cannot go back to the homepage after clicking on the edit icon in a widget (using the Strapi back button or my browser back button)

### Steps to reproduce the behavior

1. Go to the Homepage
2. Click on the edit icon for any entry in the last edited or last published entries widgets
3. Click on the Back button in the Strapi app and click on the back button in your browser
4. Check that You don’t go back to the homepage

### Expected behavior

You should go back to the homepage (at least with the browser back button)

### Screenshots


https://github.com/user-attachments/assets/59af69b1-0951-40d5-a50e-0ae7b0b30073

