Replace dialog buttons