 class InboxNewMessageBar extends KDView
   viewAppended:->
     inboxMessageView = @
-    
+
     @addSubView newMessageButton = new KDButtonView
       title     : "New Message"
       style     : "clean-gray new-message-button"

                title         : "cancel"
                style         : "modal-cancel"
                callback      : -> modal.destroy()
    
    toField = modal.modalTabs.forms.sendForm.fields.to
    
    recipientsWrapper = new KDView
      cssClass      : "completed-items"
    
    recipient = new KDAutoCompleteController
      name                : "recipient"
      itemClass           : MemberAutoCompleteItemView

    toField.addSubView recipient.getView()
    toField.addSubView recipientsWrapper

    @propagateEvent KDEventType: "NewMessageModalShouldOpen"

  disableMessageActionButtons:->
    @deleteMessageButton.disable()
    @markMessageAsReadButton.disable()

  enableMessageActionButtons:->
    @deleteMessageButton.enable()
    @markMessageAsReadButton.enable()
