Adds optional icon button to heading partial