Fix modal issues.