set background for dialog