code: function( event ) {
              if ( consoleWindow ) {
                  if ( event.detail.reason === 'next' ) {
                      onSubstepShow();
                  }
                  if ( event.detail.reason === 'prev' ) {
                      onSubstepHide();
                  }
              }
          }
docs: Sync substeps