@Override
  public boolean isModified() {
    if (myServiceDirectoryPathField != null &&
        !Objects.equals(ExternalSystemApiUtil.normalizePath(myServiceDirectoryPathField.getLocalPath()),
                        ExternalSystemApiUtil.normalizePath(myInitialSettings.getServiceDirectoryPath()))) {
      return true;
    }

    if (myGradleVmOptionsField != null && !Objects.equals(trimIfPossible(myGradleVmOptionsField.getText()), trimIfPossible(
      myInitialSettings.getGradleVmOptions()))) {
      return true;
    }

    if (myGenerateImlFilesCheckBox != null &&
        myGenerateImlFilesCheckBox.isSelected() == myInitialSettings.getStoreProjectFilesExternally()) {
      return true;
    }

    if (myParallelModelFetchCheckBox != null &&
        myParallelModelFetchCheckBox.isSelected() != myInitialSettings.isParallelModelFetch()) {
      return true;
    }

    if (myDefaultProjectSettingsControl.isModified()) {
      return true;
    }

    return false;
  }
@Override
  public boolean isModified()