Moved UI code to generate the file chooser dialog when saving or opening configurations to it's own seperate static class