Fixed modal issues.