ViewerApplication.setTitle("{{ tab_title }}");
        } catch (reason) {
          console.error(`Error when saving the document: ${reason.message}`);
        } finally {
          await PDFViewerApplication.pdfScriptingManager.dispatchDidSave();
          PDFViewerApplication._saveInProgress = false;
        }
      }
      {% endif %}
    </script>
    <style>
      @media all and (max-width: 900px){
        #outerContainer .hiddenMediumView{
          display:none !important;
        }
        #outerCon