refresheditForm call md.edit if no snippet is given
update triggerSearch() in SearchFormController
Form is refresh after thumbnail upload