How can I convert this Script that it loads and unloads an ajax page rather than the modal div? Lets say name of page is about.html.
    $('#modal-about-open').on('click', function(e) {
        var mod = $('#main'),
            modal = $('#modal-about');
            mod.animate({ opacity: 0 }, 400, function(){
            $('html,body').scrollTop(0);
            modal.addClass('modal-active').fadeIn(400);
        });
        e.preventDefault();
        $('.modal-close').on('click', function(e) {
            modal.removeClass('modal-active').fadeOut(400, function(){
                mod.animate({ opacity: 1 }, 400);
            });
            e.preventDefault();
        });
    });
 
    