Issue #22031 - Fix for configuration workspaces

- Fixed error with JSON.parse in configure workspaces
- Test still needs work to get saveAndClose to work in instead of just close