generatesactionbuttons