import VersionContainer from 'features/version/versionController/views/VersionsContainer';
 import WorkflowTitle from 'features/version/versionController/views/WorkflowTitle';
 import { PluginPubSub } from 'shared/pubsub/plugin-pubsub.ts';
-import { notificationType } from 'wfapp/pluginContext/pluginContextConstants';
+import {
+    notificationType,
+    CATALOG_PATH
+} from 'wfapp/pluginContext/pluginContextConstants';
 export default class VersionControllerView extends Component {
     static propTypes = {
         location: PropTypes.object,
         } = this.props;
         saveParamsToServer({ params: savedParams, workflowId, workflowName });
     };
-    handleSendMsgToCatalog = isCompeleted => {
+    handleSendMsgToCatalog = () => {
         const {
-            pluginContext: { eventsClientId, parentUrl }
+            pluginContext: { eventsClientId, parentUrl },
+            workflowId,
+            isCertifyDisable
         } = this.props;
         const client = new PluginPubSub(eventsClientId, parentUrl);
-        client.notify(notificationType.CLOSE, { isCompleted: isCompeleted });
+        client.notify(notificationType.CLOSE, {
+            isCompleted: isCertifyDisable,
+            workflowId,
+            path: CATALOG_PATH
+        });
     };
     certifyVersion = () => {
         const {
                             sendMsgToCatalog={this.handleSendMsgToCatalog}
                             saveDisabled={isReadonly}
                             onSaveClick={this.sendSaveParamsToServer}
+                            onCertifyClick={this.certifyVersion}
                         />
                     )}
                     {!operationMode && (
 
 import SvgButton from 'features/version/versionController/views/SvgButton';
 
 const OperationModeButtons = props => {
-    const { onSaveClick, saveDisabled, sendMsgToCatalog } = props;
-    const handleCompleteMsgToCatalog = () => sendMsgToCatalog(true);
-    const handleGoBackMsgToCatalog = () => sendMsgToCatalog();
+    const {
+        onSaveClick,
+        saveDisabled,
+        sendMsgToCatalog,
+        onCertifyClick
+    } = props;
     return (
         <div className="save-submit-cancel-container">
             <div className="action-buttons">
                     />
 
                     <Button
+                        disabled={saveDisabled}
                         className="certifyBtn"
                         btnType="primary"
-                        onClick={handleCompleteMsgToCatalog}>
+                        onClick={onCertifyClick}>
                         {I18n.t('buttons.completeBtn')}
                     </Button>
 
                         className="vs-back-btn"
                         dataTestId="vc-back-btn"
                         name="upload"
-                        onClick={handleGoBackMsgToCatalog}
+                        onClick={sendMsgToCatalog}
                     />
                 </div>
             </div>
 OperationModeButtons.propTypes = {
     onSaveClick: PropTypes.func,
     saveDisabled: PropTypes.bool,
-    sendMsgToCatalog: PropTypes.func
+    sendMsgToCatalog: PropTypes.func,
+    onCertifyClick: PropTypes.func
 };
 
 export default OperationModeButtons;