you need the handler of the button
which is this
you can replace the code with
that will only make the call to the new quest window to the old one, it will not be possible since it is more complex and needs much more to solve it
with this you will solve your problem!