   transitions = {}
   defaultTransitions = {}
 
+  ###*
+  @method up.modal.defaults
+  @param {Number} options.duration
+  @param {Number} options.delay
+  @param {String} options.easing
+  ###
+  defaults = (options) ->
+    u.extend(config, options)
+  
   ###*
   Animates an element.
   

    A promise for the transition's end.
  ###  
  morph = (source, target, transitionOrName, options) ->
    options = u.options(defaultOptions)
    $old = $(source)
    $new = $(target)
    transition = u.presence(transitionOrName, u.isFunction) || transitions[transitionOrName]

  
  u = up.util
  
  config =
    duration: 300
    delay: 0
    easing: 'ease'
