rel="modal:open" to onload code example
Example: bootstrap show modal on page load
<script type="text/javascript">
$(window).on('load',function(){
$('#myModal').modal('show');
});
</script>
<script type="text/javascript">
$(window).on('load',function(){
$('#myModal').modal('show');
});
</script>