     # Adiciona o Elemento no DOM
     if @usingModal
       $(@domElement).on 'hidden', =>
+        @visible = false
         $(window).trigger('removeMessage.vtex', @)
       $(vtex.Messages.getInstance().modalPlaceholder).append(@domElement)
     else

      flagVisibleSet = false
      for modal in $('.modal.' + @classes.MESSAGEINSTANCE)
        modalData = $(modal).data('vtex-message')
        if modalData.domElement[0] isnt @domElement[0]
          flagVisibleSet = true
          $(modal).one 'hidden', =>
            $(@domElement).modal('show')

      if not flagVisibleSet
        $(@domElement).modal('show')

    if !@usingModal
      @domElement.show()
      # se necessário, cria timer para a mensagem
      if @.timeout? and @.timeout isnt 0
        window.setTimeout =>

        title: ''
        detail: ''
      close: 'Close'
      type: 'info' # possible types are: ['success', 'info', 'warning', 'danger', 'fatal', 'error']
      visible: true
      usingModal: false
      domElement: $()
      insertMethod: 'append'
