How to keep the feedback button when using custom widget for agent response

I used a custom widget to add buttons in addition to the LLM/agent response.
But the feedback buttons that appear underneath the response(like/dislike, copy etc) are no longer there?
What can be done?

Thanks!