adds graph selection buttons to tab; not yet hooked up