add hint button to the template