#15: Fill image in the thumbnail block, close preview on Esc