Fix issues with document actions panel ui in cms

Fixes a major bug where None of the actions panels were showing when clicking the action buttons, making the embargo, replace functions unavailable