Controlled impact of a disk on a water surface: cavity dynamics