Fixed issue where buttons were not rendered using microtemplate