diff --git a/client/components/AddToPlanningModal/index.tsx b/client/components/AddToPlanningModal/index.tsx index 1785d9869..eda3e3fc5 100644 --- a/client/components/AddToPlanningModal/index.tsx +++ b/client/components/AddToPlanningModal/index.tsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; -import {Modal} from '../index'; +import {Modal} from 'superdesk-ui-framework/react'; import {Button} from '../UI'; import {AddToPlanningApp} from '../../apps'; @@ -55,39 +55,30 @@ export class AddToPlanningComponent extends React.Component { return ( - + visible={true} + onHide={actionInProgress ? null : handleCancel} + size="x-large" + contentPadding="none" + headerTemplate={(

{gettext('Select an existing Planning Item or create a new one')}

- {actionInProgress ? null : ( - - - - )} -
- - -
- this.dom.popupContainer} - onCancel={handleCancel} - /> -
-
- - + )} + footerTemplate={(