diff --git a/themes/bootstrap3/templates/layout/layout.phtml b/themes/bootstrap3/templates/layout/layout.phtml
index 19f6ff6d4c872c13ac3c04665cac8f853359bde7..82f0ba69d84f7fc2b9c122844012c243e0a9d858 100644
--- a/themes/bootstrap3/templates/layout/layout.phtml
+++ b/themes/bootstrap3/templates/layout/layout.phtml
@@ -193,7 +193,9 @@ JS;
       <div class="modal-dialog">
         <div class="modal-content">
           <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
-          <div class="modal-body"><?=$this->transEsc('Loading') ?>...</div>
+          <div class="modal-body">
+            <span id="modal-title"><?=$this->transEsc('Loading') ?>...</span>
+          </div>
         </div>
       </div>
     </div>
diff --git a/themes/bootstrap3/templates/layout/lightbox.phtml b/themes/bootstrap3/templates/layout/lightbox.phtml
index dbde8d57ff6f31fed0d44eb4995f0f334f921ac6..d54f7effce886e93ffcde3b562e71d29737df419 100644
--- a/themes/bootstrap3/templates/layout/lightbox.phtml
+++ b/themes/bootstrap3/templates/layout/lightbox.phtml
@@ -1,3 +1,4 @@
+<span id="modal-title" hidden><?=$this->headTitle()->renderTitle() ?></span>
 <?=$this->layout()->content?>
 <?=$this->piwik(['lightbox' => true])?>
 <?=$this->googleanalytics($this->serverUrl(true))?>