text: $(document).ready(function(){
      $('.modal').modal();
      $('.modal-close').modal('close');
    });
  
  // modals = document.getElementsByClassName('modal-content');
  // console.log(modals.length);
  // for(var i=0;i<modals.length;i++){
  //   document.getElementsByClassName('modal-content')[i].innerHTML = document.getElementsByClassName('modal-content')[i].innerHTML.split('\n').join('<br>');
  //   console.log(document.getElementsByClassName('modal-content')[i]);
  //  }
  
  function edit(name){
    console.log(name);
  }