thumbnails - clean dialog, update img, refs opengeo/mapstory#516