     return # Make sure CoffeeScript does not return anything
 
   'click .invite-button, focus .invite-button, keypress .invite-button': (e, template) ->
-    e.inviteDialogBoxEvent = true
+    e.dialogBoxEvent = true
     return # Make sure CoffeeScript does not return anything
 
 Template.inviteDialog.displayed = ->

# element of all and not directly on child elements. For example, when input is
# disabled, its click handler is not called, but invite-dialog handler is.
  'click .invite-dialog, focus .invite-dialog, keypress .invite-dialog': (e, template) ->
    e.inviteDialogBoxEvent = true
    return # Make sure CoffeeScript does not return anything

  'submit .invite-send': (e, template) ->

    return # Make sure CoffeeScript does not return anything

  'click .newsletter, focus .newsletter, keypress .newsletter': (e, template) ->
    e.dialogBoxEvent = true
    return # Make sure CoffeeScript does not return anything

Template.newsletter.displayed = ->
