private Namespace getScope() {
		final AtomicReference<Namespace> ref = new AtomicReference<>();
		runSwing(() -> {
			Object selectedItem = namespacesComboBox.getSelectedItem();
			Namespace ns = ((AddEditDialog.NamespaceWrapper) selectedItem).getNamespace();
			ref.set(ns);
		});
		return ref.get();
	}
Catches the issue where the user could not move a label within a
namespace under the Global namespace to directly under the Global
namespace.

see Tracker ID 901
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/label/AddEditDialoglTest.java