modify the design of dialog