How to link progress bar to the busy_indicator spinner on a template?

Jslink doesn’t work

import panel as pn
pn.extension()

template = pn.template.MaterialTemplate()
dot = template.busy_indicator
bar = pn.widgets.Progress(height=100, width=100)
# dot.jslink(bar, value="active")
template.sidebar.append(bar)

button = pn.widgets.Button(name="hey")
template.sidebar.append(button)

template.servable()