Steps to reproduce:
- Open any page on Beta cluster within VE.
- Go to Insert>Images and Media.
- Click on the Cite option on the Media dialog toolbar.
- Go to the "Extends" tab.
- Select a reference to extend.
- Click on "Insert" keeping the text field empty.
Observed Result:
The empty extension shows up as "undefined" inside the Media/Gallery dialog, however it does not show up as that on the main article page.
Inside the Media/Gallery dialog:
On the main page:
Expected Result: If empty extension is not something we are going to allow, we should keep the "Insert" button disabled unless there is something entered on the "Extend a reference" text field.

