Turn the global checkbox into a buttongroup with resource folder/document.
There's now an issue visible that a global made palette doesn't save to the resource folder.