Browse custom config with a popup dialog file chooser.
Refactoring uneeded code for custom config browse dialog.