When you edit a document from "Shared with me" and publish the changes, the result action redirect the portal
Steps to Reproduce:
- Create a new User if doesn't exist
- From the user Test, share a document with the other user, with update permission.
- Enter with the other user
- Go to Shared Assets
- Go to shared file
Expected result: The modal closes and redirects on the main page to the previous page.
Actual result: The modal doesn't close and the redirection is made inside the modal.