 tr.importer.Import(m, importOptions);
    const p = i.importTracesWithProgressDialog(traces);

    p.then(
        function() {
          timelineViewEl.model = m;
          timelineViewEl.updateDocumentFavicon();
          timelineViewEl.globalMode = true;
          timelineViewEl.viewTitle = '';
          createViewFromTracesTimer.end();
        },
        function(err) {
          const overlay = new tr.ui.b.Overlay();
          overlay.textContent = tr.b.normalizeException(err).message;
          overl