           if data
             div.innerHTML = data.body
             context.invoke('editor.insertNode', div)
+            alert lang.loaded
             @destroy
             @$dialog.remove()
 


    for key, draft of drafts
      do ->
        htmlList += "<a href='#' class='list-group-item note-draft' data-draft='#{key}'> #{draft.name} <small>#{draft.sDate}</small></a>"

    context.memo 'button.sDraftsLoad', () ->
      button = ui.button

      provideName : 'Provide a name for this draft'
      saved : 'Draft was successfully saved'
      loaded: 'Draft was successfully loaded'
      deleted: 'Draft was successfully deleted'
      noDraft : 'The selected draft couldn\'t be loaded, try again or select another one'
      deleteDraft : 'delete'
      youSure : 'Are you sure you want to do this?'

  $.extend $.summernote.plugins,
    'sDraftsSave' : (context) ->
