fix dialog content bug