only set title on button element