moved actions to defaultButton and named itemIds correctly with type