dialog and button text align set to center

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>