settings class dialog buttons