convert plugin to use new dialogIn() - image with thumbnails