Slide out panel or new page

I'm in the middle of redesigning a section of our app which lists files + folders, and I'm not sure which approach would be best from a UX point of view. The current system has a show action for each document which has a dashboard with activity, download/share links and basic details of the document. There are also some tabs to show share links and previous version of the file.

In my head, I'm wondering if this view is even needed at all. Instead I'm considering having a slide out modal on the documents listing page, allowing you to quickly view all of the details of the document there instead. I kinda feel like redirecting the user to a separate page to view some of the details is breaking the flow more than showing a contextual modal which could show all the same information, but I'm not an expert on UX so I'm not really sure what would be best.

Example

Something like this as an example of what I've got in mind

Current UI

Original design This is the current UI that I'm considering replacing. It's not great as it stands so needs updating regardless