LUN-1591: preview will show snippet plugin with empty variables

LUN-1591: preview will show snippet plugin with empty variables, even if the plugin was not saved yet