 
         # Inject DOM and trigger callbacks/events
 
-        $(options.appendLocation).append options.$vexOverlay
+        $(options.appendLocation).append options.$vex
 
         # Call afterOpen callback and trigger vexOpen event
 

                return unless e.target is @
                vex.close $(@).data().vex.id

        # Content

        options.$vexContent = $('<div>')
            .addClass(vex.baseClassNames.content)
            .addClass(options.className)
            .css(options.css)
            .append(options.content)
            .data(vex: options)

        options.$vexOverlay.append options.$vexContent

        # Close button


        $vexContent = vex.getVexByID id
        return unless $vexContent.length

        $vex = $vexContent.data().vex.$vex

        options = $.extend {}, $vexContent.data().vex

