removing the js to extend the referencesearchdialog