<div role="filemanager-modal" class="modal" tabindex="-1"
     data-frame-id="<?= $frameId ?>"
     data-frame-src="<?= $frameSrc ?>"
     data-btn-id="<?= $btnId ?>"
     data-input-id="<?= $inputId ?>"
     data-image-container="<?= $imageContainer ?>"
     data-paste-data="<?= $pasteData ?>"
     data-thumb="<?= $thumb ?>">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-body"></div>
        </div>
    </div>
</div>
<div role="filemanager-modal" class="modal" tabindex="-1"
     data-frame-id="<?= $frameId ?>"
     data-frame-src="<?= $frameSrc ?>"
     data-btn-id="<?= $btnId ?>"
     data-input-id="<?= $inputId ?>"
     data-image-container="<?= is_set($imageContainer) ? $imageContainer : '' ?>"
     data-paste-data="<?= is_set($pasteData) ? $pasteData : '' ?>"
     data-thumb="<?= $thumb ?>">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-body"></div>
        </div>
    </div>
</div>
--- 
+++ 
@@ -3,8 +3,8 @@
      data-frame-src="<?= $frameSrc ?>"
      data-btn-id="<?= $btnId ?>"
      data-input-id="<?= $inputId ?>"
-     data-image-container="<?= is_set($imageContainer) ? $imageContainer : '' ?>"
-     data-paste-data="<?= is_set($pasteData) ? $pasteData : '' ?>"
+     data-image-container="<?= $imageContainer ?>"
+     data-paste-data="<?= $pasteData ?>"
      data-thumb="<?= $thumb ?>">
     <div class="modal-dialog">
         <div class="modal-content">
Revert "Fixed Modal view bug"

This reverts commit ce3917c8b04123e60eba2e02528cf1f8c4a8e0df.