DEV: adds a topic level bookmark toggle (PR #14471)

GitHub

It has proven very hard to come up with something working for this, there are many places things can happen, I think it should do the work for now, but I will probably rework this with @martin-brennan when he comes back.