Fix utilities context error for customDialog