_onCancel() {
        const { cancelDisabled, onCancel } = this.props;

        if ((typeof cancelDisabled === 'undefined' || !cancelDisabled)
                && (!onCancel || onCancel())) {
            this.props.dispatch(hideDialog());
        }
    }
/**
     * Dispatches a redux action to hide this dialog when it's canceled.
     *
     * @protected
     * @returns {void}
     */
Dispatches a redux action to hide this dialog when it's canceled.
@protected
@returns {void}
Dispatches a redux action to hide this dialog when it ' s canceled . @protected @returns { void }
_onCancel() {
        const { cancelDisabled, onCancel } = this.props;
        if ((typeof cancelDisabled === 'undefined' || !cancelDisabled)
                && (!onCancel || onCancel())) {
            this.props.dispatch(hideDialog());
        }
    }
_onCancel ( ) { const { cancelDisabled , onCancel } = this . props ; if ( ( typeof cancelDisabled === 'undefined' || ! cancelDisabled ) && ( ! onCancel || onCancel ( ) ) ) { this . props . dispatch ( hideDialog ( ) ) ; } }
Dispatches a redux action to hide this dialog when it's canceled.
Dispatches a redux action to hide this dialog when it ' s canceled .