Fix couple of bugs in WikiaMediaInsertDialog and WikiaMediaQueryWidget
Merge pull request #1851 from Wikia/mediasearch-bugs

Fix couple of bugs in WikiaMediaInsertDialog and WikiaMediaQueryWidget