fixing modal color and transparent bug with modal