adds detail and comment buttons