Consider `ImageOrVideo` component which would autodetect should we use `ImageSelect` or `VideoSelect`.