Adds the provided block callback to the scope. The callback will be called when the scope is disposed.
block