       @dom.removeNode @toRemove
       undefined
     anim.play()
+
+  ###*
+    @protected
+  ###
+  removeElement: ->
+    @toRemove = @dom.getElement(@postElement)
+    if @toRemove?
+      @dom.getWindow().setTimeout(@fadeOutTrigger(), 1000)

    @protected
  ###
  onSuccess: =>
    if @postAction is wzk.ui.form.RemoteButtonDecorator.ACTION.REMOVE
      @toRemove = @dom.getElement @postElement
      if @toRemove?
        setTimeout @fadeOutTrigger(), 1000

  ###*
    @protected

  ###
  @ACTION:
    REMOVE: 'remove'

  ###*
    @enum {function(wzk.dom.Dom)}
  ###
  @POST_ACTIONS =
    'reload': (self) -> self.dom.getWindow().location.reload(true)
    'remove': (self) -> self.removeElement()

  ###*
    @param {wzk.dom.Dom} dom
