diff --git a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__tests__/__snapshots__/relationships.test.js.snap b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__tests__/__snapshots__/relationships.test.js.snap
index 266803ef7e398..d3e28c4175333 100644
--- a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__tests__/__snapshots__/relationships.test.js.snap
+++ b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__tests__/__snapshots__/relationships.test.js.snap
@@ -100,32 +100,6 @@ exports[`Relationships should render dashboards normally 1`] = `
-
-
-
-
- Close
-
-
-
-
`;
@@ -167,32 +141,6 @@ exports[`Relationships should render errors 1`] = `
foo
-
-
-
-
- Close
-
-
-
-
`;
@@ -352,32 +300,6 @@ exports[`Relationships should render index patterns normally 1`] = `
-
-
-
-
- Close
-
-
-
-
`;
@@ -535,32 +457,6 @@ exports[`Relationships should render searches normally 1`] = `
-
-
-
-
- Close
-
-
-
-
`;
@@ -664,31 +560,5 @@ exports[`Relationships should render visualizations normally 1`] = `
-
-
-
-
- Close
-
-
-
-
`;
diff --git a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/relationships.js b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/relationships.js
index 689ae8ae1caeb..844c09157e60c 100644
--- a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/relationships.js
+++ b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/relationships.js
@@ -24,11 +24,7 @@ import {
EuiTitle,
EuiFlyout,
EuiFlyoutBody,
- EuiFlyoutFooter,
EuiFlyoutHeader,
- EuiFlexGroup,
- EuiFlexItem,
- EuiButtonEmpty,
EuiDescriptionList,
EuiDescriptionListTitle,
EuiLink,
@@ -240,16 +236,6 @@ export class Relationships extends Component {
{this.renderRelationships()}
-
-
-
-
-
- Close
-
-
-
-
);
}
diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js
index d13d2b60c02a7..1d0137ab3b25f 100644
--- a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js
+++ b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js
@@ -11,7 +11,6 @@ import { Summary } from './summary';
import { EditSettingsJson } from './edit_settings_json';
import {
- EuiButtonEmpty,
EuiFlexGroup,
EuiFlexItem,
EuiFlyout,
@@ -84,13 +83,7 @@ export class DetailPanel extends Component {
{component}
-
-
-
- Close
-
-
-
+