Quick way to close a workspace and its windows

I recently posted a topic [1] on a similar subject, but this time the focus is not primarily on closing all windows at once. Instead, I’m introducing new criteria for workspace management:

  1. Close a workspace along with all windows opened within it.
  2. Handle windows that cannot be forcefully closed: if certain apps cannot be closed by this action, they will instead be moved to the nearest workspace (n−1).
  3. For a fixed number of workspaces: Close windows on nth worspace. Apps that cannot be forcefully closed will be moved to n-1 workspace (note that we preserve workspaces in this scenario)

Currently the issue with [1] is that the button creates assymetry. I think a simple close icon button just like close button for app windows is semantic enough (at the upper right for LTR and at the upper left for RTL).

Of course a dialog will popup.
For dynamic workspaces:
A dialog will appear with confirm and cancel action plus warning label for workspace removal, windows closing and windows that cannot be closed and will be moved to n-1 workspace.
**For fixed # of workspaces": same dialog but no warning for closing a workspace

Links:
[1] https://discourse.gnome.org/t/adapting-android-android-oems-close-all-or-cleara-all-for-recent-apps-in-gnomes-workspace-overview/31134