private MoveKotlinTopLevelDeclarationsModel getModel() throws ConfigurationException  {

        boolean mppDeclarationSelected = cbApplyMPPDeclarationsMove.isSelected() && isMppDeclarationSelected();

        PsiDirectory selectedPsiDirectory = null;
        if (!mppDeclarationSelected) {
            DirectoryChooser.ItemWrapper selectedItem = (DirectoryChooser.ItemWrapper) destinationFolderCB.getComboBox().getSelectedItem();
            selectedPsiDirectory = selectedItem != null ? selectedItem.getDirectory() : initialTargetDirectory;
        }

        List<KtNamedDeclaration> selectedElements = getSelectedElementsToMoveChecked();

        return new MoveKotlinTopLevelDeclarationsModel(
                myProject,
                selectedElements,
                getTargetPackage(),
                selectedPsiDirectory,
                tfFileNameInPackage.getText(),
                fileChooser.getText(),
                rbMoveToPackage.isSelected(),
                cbSearchReferences.isSelected(),
                cbSearchInComments.isSelected(),
                cbSearchTextOccurrences.isSelected(),
                cbDeleteEmptySourceFiles.isSelected(),
                mppDeclarationSelected,
                moveCallback
        );
    }
private MoveKotlinTopLevelDeclarationsModel getModel()