main
Alchemy.closeCurrentDialog(); <% unless flash[:notice].blank? -%> Alchemy.growl('<%= j flash[:notice] %>'); <% end -%> Alchemy.reloadPreview();