Use image selection dialog in markdown editor as well.