Try using this theme component to provide a reply template:
https://github.com/discourse/discourse-reply-template-component