Set tabindex for template dialog info/remove buttons on parent <div> rather than <a>

Makes Firefox happy. Not sure why.

Bug: 66824
Change-Id: I6cf69c7ea36dc7870af59e7edc2f137143ba7ad5
Merge "Set tabindex for template dialog info/remove buttons on parent <div> rather than <a>"