Move save variable ajax call to workspace-manager