Add type to buttons in tooltip-viewport example