fix confirmation dialog buttons