Load selected image types before the dialog showed.