test: show dialog when button fired