VE-1454 Add preview button to template dialog

https://wikia-inc.atlassian.net/browse/VE-1454