anchor.diff:          </section>
           <div class="admin-panel-content-separator"></div>
           <section id="logout" data-mode="logout" class="admin-panel-content-section">
  -            <a href="${contextPath}/servlet/LogOut" target="_self">
  +            <a href="${contextPath}/servlet/LogOut" class="imcms-panel-safe-redirect" target="_self">
                   <div class="admin-panel-button">
                       <div class="admin-panel-button-image"></div>
                       <span class="admin-panel-button-description">Logout</span>
  
positive.code:         </section>
          <section id="edit" data-mode="edit" class="admin-panel-content-section${isEditMode ? " active" : ""}">
              <a href="${contextPath}/servlet/AdminDoc?meta_id=${document.id}&flags=${permEditTextDocumentTexts}"
                 target="_self">
                  <div class="admin-panel-button">
                      <div class="admin-panel-button-image"></div>
                      <span class="admin-panel-button-description">Edit</span>
  
negative.code:             </div>
              <div class="admin-panel-language">
                  <a href="${contextPath}/servlet/GetDoc?meta_id=${document.id}&lang=en"
                     title="English/English (default current)"
                     class="imcms-panel-safe-redirect${currentLangCode eq 'en' ? ' active' : ''}">
                      <img src="${contextPath}/images/ic_english.png" alt="" style="border:0;">
                  </a>
                  <a href="${contextPath}/servlet/GetDoc?meta_id=${document.id}&lang=sv" title="Swedish/Svenska"
                     class="imcms-panel-safe-redirect${currentLangCode eq 'sv' ? ' active' : ''}">
                      <img src="${contextPath}/images/ic_swedish.png" alt="" style="border:0;">
                  </a>
              </div>
          </section>
          <section id="read" data-mode="readonly"
                   class="admin-panel-content-section${isEditMode or isPreviewMode ? "" : " active"}">
              <a href="${contextPath}/${docAliasOrId}" class="imcms-panel-safe-redirect" target="_self">
                  <div class="admin-panel-button">
                      <div class="admin-panel-button-image"></div>
                      <span class="admin-panel-button-description">Public</span>
  