draw dialog gradient