Implement the buttons to open the media selector and use it to find/add images to templates based on the process outlined in the investigation ticket, {T258195}. Add this functionality to the 'file' parameter type.
**Requirements**
[] Parameter type 'file' gets a custom input type with two buttons below the input text field, one for upload and one for search
[] Both buttons open an adapted version of the existing VE media selector, each to it's respective tab
[] Once the selector is open, the user is still able to switch between the two tabs.
[] The media selector opens on top of the VE template dialog, covering it (so it looks like it's part of the same dialog) and expanding in size for search, staying the same size for upload
[] The media selector allows a user to proceed through the screens to the point of clicking the button 'Use this image,' without inputing additional information (such as caption or alt text). Screenshots detail this in the investigation ticket T258195.
[] When a user clicks, 'Use this image,' the file name is passed into the VE template dialog without the prefix.
[] Users can type in or paste in a file name without using the buttons to find a file.
[] Users can still use the buttons to add a file name when there is text inside the input field. If the user closes out of the media selector, the existing text stays. If the user selects a new image or uploads a new one, the text is replaced.
[] Allow to use the media selector to choose the following media types on commons: image, movie, pdf, audio.
**Mock**
{F32189711}