DAR-712: move editor preview dialog to amd module
DAR-712 small code fix
Merge pull request #1389 from Wikia/DAR-712-preview-module

Dar 712 preview module