merge + thumbnails in modal