connect the modulesChooser