fixes #4642 Language dropdown does not appear on relate search window

Fixed the issue and pushed the code for review, please check it.