<div ng-hide="!savedObject.id || savedObject.isSaving">
  <div ng-hide="!savedObject.isTitleChanged() || savedObject.copyOnSave" class="kuiLocalDropdownWarning kuiVerticalRhythmSmall">
    In previous versions of Kibana, changing the name of a {{savedObject.getDisplayName()}} would make a copy with the new name. Use the 'Save as a new {{savedObject.getDisplayName()}}' checkbox to do this now.
  </div>

  <label class="kuiCheckBoxLabel kuiVerticalRhythmSmall">
    <input
      class="kuiCheckBox"
      type="checkbox"
      data-test-subj="saveAsNewCheckbox"
      ng-model="savedObject.copyOnSave"
      ng-checked="savedObject.copyOnSave"
    >

    <span class="kuiCheckBoxLabel__text">
      Save as a new {{savedObject.getDisplayName()}}
    </span>
  </label>
</div>

