Plain modal form, load on page load

To load just plain moda form and add some contetn to it. Do this

  $(document).ready(function() {
Drupal.CTools.Modal.show();
$('#modal-title').html('put title here');
$('#modal-content').html('put content here');
  });

and modal will open.