Configuration template - viewing and selecting organizations from the dialog. Refactoring.