Fixed issue with modal in background.