make pseudo action in their own dcit.

make test more reliable by adding data-attributes to buttons.