fix for wrong 'preview_id' parameter value  for 'view' button in snippet editing view