/*
 *  Place copyright or other info here...
 */

(function(global, $){
    
    // Define core
    var codiad = global.codiad,
        scripts= document.getElementsByTagName('script'),
        path = scripts[scripts.length-1].src.split('?')[0],
        curpath = path.split('/').slice(0, -1).join('/')+'/';

    // Instantiates plugin
    $(function() {    
        codiad.modalAnimations.init();
    });

    $.loadScript( curpath + 'jquery.transit.js' );

    codiad.modalAnimations = {
        
        // Allows relative `this.path` linkage
        path: curpath,

        init: function() {
            var duration = 300;

            amplify.subscribe( 'modal.onLoad', function(){
                $( "#modal" ).transit({
                     scale: 0,
                     display: 'block',
                     opacity: 0,
                     perspective: '500px',
                     rotateX: "90deg",
                     duration: 0,
                }).transit({
                     scale: 1,
                     opacity: 1,
                     perspective: '1000px',
                     rotateX: "0deg",
                     duration: duration,
                     easing: 'easeOutBack'
                });
	        return false;
            });
            amplify.subscribe( 'modal.onUnload', function(){
                $( "#modal" ).transit({
                     scale: 0,
                     opacity: 0,
                     perspective: '500px',
                     rotateX: "90deg",
                     duration: duration,
                });
                return false;
            });
        },
    };

})(this, jQuery);

@@ -645,33 +645,32 @@
 plify.subscribe(
- 
 'modal.onLoad', 
@@ -670,32 +670,37 @@
 Load', function(
+event
 )%7B%0A             
@@ -1225,38 +1225,58 @@
    %7D);%0A%09        
-return
+event.animationPerformed =
  false;%0A        
@@ -1313,17 +1313,16 @@
 bscribe(
- 
 'modal.o
@@ -1340,16 +1340,21 @@
 unction(
+event
 )%7B%0A     
@@ -1615,14 +1615,34 @@
     
-return
+event.animationPerformed =
  fal

Update init.js