Fixed css bugs with modal issues.