         $editWrapper.removeClass "editmode"
         $editWrapper.children(".vtrg-edit-body").html viewdata
         toggleEditorBlocker $editWrapper, false
+        event_provider.trigger "vitrageshowed"
       else
         $.ajax
           url: "/vitrage/pieces/" + $editWrapper.data("id")

    $createAnchors.on "ajax:success", (evnt, data, textStatus, jqXHR) ->
      $(".vtrg-add-new-wrapper").before data
      coverNewFormActions $(".vtrg-edit-wrapper:last")
    # $createAnchors.on "ajax:error"
    # $createAnchors.on "ajax:complete"

        clwr.remove()
        initDestroyControl brandNewWrapper
        initEditControl brandNewWrapper
        event_provider.trigger "vitragecreated"
      # $blockForm.on "ajax:error"
      $blockForm.on "ajax:complete", ->
        toggleEditorBlocker $(@).closest(".vtrg-edit-wrapper"), false
