@Override
    protected void doAction() {
      final String newName = getNewName();
      final PsiElement element = getPsiElement();
      assert element instanceof XmlAttributeValue;
      doRenameFxId(((XmlAttributeValue)element), newName, isSearchInComments(), isPreviewUsages());
      close(DialogWrapper.OK_EXIT_CODE);
    }
@Override
    protected void doAction()