Updated dd-text-collapse

Fixed an issue with the scope and with keeping the binding to the text
being collapsed.