Refine the background of flat dialog