simplify the setting of button text: { okText: "foo", cancelText: "bar" }