add three butons: msg, cancel and ok.