remove superfluous modal partial