VE-1454 Add preview button to template dialog