anchor.diff:                  .fail(function () {
                       showAlert('error', 'Subscriber <strong>' + name + '</strong> suspending fail');
                       return false;
  +                })
  +                .always(function (){
  +                    $('#suspendModal').modal('hide');
  +                    reloadSubscribersTable();
                   });
           });
   
           //resume subscriber on submit
  -        $('#resume_subscriber_form').submit(function () {
  +        $('#resume_subscriber_form').submit(function (e) {
               var email = $('#resume_subscriber_email').val();
               var name = $('#resume_subscriber_name').val();
  +            e.preventDefault();
               $.getJSON(rootURL + username + '/' + email + '/resume', function (data) {
               })
                   .done(function () {
  
positive.code:                 .fail(function () {
                      showAlert('error', 'Subscriber <strong>' + name + '</strong> resuming fail');
                      return false;
                  });
          });
  
          //add new subscriber on submit
  
negative.code: 
      $(document).ready(function () {
  
          reloadSubscribersTable();
  
          //show subscribers table for edit
          function reloadSubscribersTable() {
              $.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').html(table);
              });
          }
  
          //activate the first tab by default
          //TODO: change active tab in depends on input parameter
  