Close All World Variables

This function closes all currently open World Variable components.

If there are any currently open world variables whose values have been changed but not saved in the database, this function will fail and the remaining world variables will remain open until the changes are canceled or saved.