VE-1659: Focus search/query field after insert Gallery dialog is opened

https://wikia-inc.atlassian.net/browse/VE-1659
VE-1659: Addressed styling problem
Merge pull request #5337 from Wikia/VE-1659

VE-1659: Focus search/query field after insert Gallery dialog is opened