anchor.diff:                  .fail(function () {
                       showAlert('error', 'Subscriber <strong>' + name + '</strong> resuming fail');
                       return false;
  +                })
  +                .always(function (){
  +                    $('#resumeModal').modal('hide');
  +                    reloadSubscribersTable();
                   });
  +
           });
   
           //add new subscriber on submit
  
positive.code: 
      $(document).ready(function () {
  
          //show subscribers table for edit
          $.getJSON(rootURL + username, function (data) {
              userData = data;
              var table = '<table class="table table-hover"><thead>' +
                  '<tr><th>#</th>' +
                  '<th>name</th>' +
                  '<th>email</th>' +
                  '<th>status</th>' +
                  '<th>action</th></tr></thead><tbody>';
  
              $.each(data.subscribers, function (i, item) {
                  var tr;
                  if (item.status === 'suspended')
                      tr = '<tr class="danger"><td>';
                  else
                      tr = '<tr class="active"><td>';
  
                  table += tr + (i + 1) + '</td><td>'
                      + item.name + '</td><td>'
                      + item.email + '</td><td>'
                      + item.status + '</td><td>'
                      + '<div class="btn-group" role="group">'
                      + '<button id="btn_update" type="button" class="btn btn-primary" data-toggle="modal" data-target="#updateModal" data-name="' + item.name + '" data-email="' + item.email + '" data-status="' + item.status + '">Update</button>';
  
                  if (item.status === 'suspended')
                      table += '<button id="btn_resume" type="button" class="btn btn-warning" data-toggle="modal" data-target="#resumeModal" data-name="' + item.name + '" data-email="' + item.email + '">Resume</button>'
                  else
                      table += '<button id="btn_suspend" type="button" class="btn btn-warning" data-toggle="modal" data-target="#suspendModal" data-name="' + item.name + '" data-email="' + item.email + '">Suspend</button>';
  
                  table += '<button id="btn_remove" type="button" class="btn btn-danger" data-toggle="modal" data-target="#removeModal" data-name="' + item.name + '" data-email="' + item.email + '">Remove</button></div></td></tr>';
  
              });
              table += '</tbody></table>';
              $('#edit').append(table);
          });
  
          //activate the first tab by default
          //TODO: change active tab in depends on input parameter
  
negative.code:                 'name: "' + name + '",' +
                  'status: "' + status + '",' +
                  'rsslist: [ ';
              e.preventDefault();
              $('#update_subscriber_rsslist option').each(function () {
                  updateJson += '{ rss: "' + $(this).val() + '", status: "active"},';
              });
  