Swatches are always saved in the document you created them in.
A new document contains the set of swatches that are in the chosen document profile.
A swatches library contains all those swatches that were in the panel when you saved it.
You can open any AIdocument via the "open library" command
Don't know what you mean with this "all libraries open when you open one of them "