       insertedDialog.css
         'margin-left': "#{x}px"
         'margin-top': "#{y}px"
-      
 
-    # Set the closing action for the inserted dialog to close dialog 
+
+    # Set the closing action for the inserted dialog to close dialog
     # and fade out the appropriate overlay
     insertedDialog.data 'closeAction', =>
       options.onClose.call(null, insertedDialog, options) if options.onClose?

    else
      console.log "Must pass a 'name' option to the addBehavior method."
      false
    
  # Complete the opening of a dialog with the given HTML
  displayDialog: (dialog, content)->
    dialog.html(content)

      $.ajax
        url: options.url
        success: (data)=> this.setContent(data, id)

  # Create a new overlay
  createOverlay: (options)->
    overlay = $("<div class='niftyOverlay invisible'></div>")
