diff --git a/web/client/components/misc/Dialog.jsx b/web/client/components/misc/Dialog.jsx
index 5db851ad7b..e3f980a8cc 100644
--- a/web/client/components/misc/Dialog.jsx
+++ b/web/client/components/misc/Dialog.jsx
@@ -84,7 +84,7 @@ const Dialog = React.createClass({
);
let containerStyle = assign({}, this.props.style, this.props.backgroundStyle);
return this.props.modal ?
- (
+ (
{evt.preventDefault(); evt.stopPropagation(); }} className="modal-dialog" style={{background: "transparent"}}>
{dialog}
) :
diff --git a/web/client/plugins/metadataexplorer/css/style.css b/web/client/plugins/metadataexplorer/css/style.css
index 81227ab1fa..d9cd604675 100644
--- a/web/client/plugins/metadataexplorer/css/style.css
+++ b/web/client/plugins/metadataexplorer/css/style.css
@@ -40,7 +40,7 @@ div.record-grid .record-item .record-buttons {
#mapstore-catalog-panel button.search-button {
margin-bottom: 10px;
}
-#viewer .modal-dialog {
+.catalog_window .modal-dialog {
width: 98%;
margin-top: 10px;
}