     onMove: (args) ->
         newbox = args.target.dataset.value
         alertError   = LayoutActionCreator.alertError
+        alertSuccess = LayoutActionCreator.notify
         if @props.nextID?
             next = @props.nextID
         else next = @props.prevID

        MessageActionCreator.updateFlag @props.message, flags, (error) ->
            if error?
                alertError "#{t("message action mark ko")} #{error}"

    onConversation: (args) ->
        id     = @props.message.get 'conversationID'
        action = args.target.dataset.action
        alertError   = LayoutActionCreator.alertError
        switch action
            when 'delete'
                ConversationActionCreator.delete id, (error) ->
                    if error?
                        alertError "#{t("conversation delete ko")} #{error}"

            when 'seen'
                ConversationActionCreator.seen id, (error) ->
                    if error?
                        alertError "#{t("conversation seen ok ")} #{error}"

            when 'unseen'
                ConversationActionCreator.unseen id, (error) ->
                    if error?
                        alertError "#{t("conversation unseen ok")} #{error}"

    onHeaders: (event) ->
        event.preventDefault()

                if error?
                    alertError "#{t("message action move ko")} #{error}"
                else
                    alertSuccess t "message action move ok"
                    @displayNextMessage next

    onMark: (args) ->
        flags = @props.message.get('flags').slice()
        flag = args.target.dataset.value
        alertError   = LayoutActionCreator.alertError
        alertSuccess = LayoutActionCreator.notify
        switch flag
            when FlagsConstants.SEEN
                flags.push MessageFlags.SEEN
