VE-472: create WikiaMediaPageWidget; refactor and cleanup logic in dialog.