 
   new: (e) =>
     e.preventDefault()
-    new App.ChannelEmailAddressEdit( {} )
+    new App.ChannelEmailAddressEdit(
+      container: @el.closest('.content')
+    )
 
   edit: (id, e) =>
     e.preventDefault()
     item = App.EmailAddress.find(id)
-    new App.ChannelEmailAddressEdit( object: item )
+    new App.ChannelEmailAddressEdit(
+      object:    item
+      container: @el.closest('.content')
+    )
 
 class App.ChannelEmailAddressEdit extends App.ControllerModal
   constructor: ->


  new: (e) =>
    e.preventDefault()
    new App.ChannelEmailSignatureEdit( {} )

  edit: (id, e) =>
    e.preventDefault()
    item = App.Signature.find(id)
    new App.ChannelEmailSignatureEdit( object: item )

class App.ChannelEmailSignatureEdit extends App.ControllerModal
  constructor: ->


  new: (e) =>
    e.preventDefault()
    new App.ChannelEmailInboundEdit(
      container: @el.closest('.content')
    )

  edit: (id, e) =>
    e.preventDefault()
    item = App.Channel.find(id)
    new App.ChannelEmailInboundEdit(
      object:    item
      container: @el.closest('.content')
    )


class App.ChannelEmailInboundEdit extends App.ControllerModal
