fixes #4993, bz1063273 - properly enable/disable remove ui button"

bz1063273 - added destroy method