But thereafter Milan started to exert more and more pressure and the hosts capitulated four minutes from time as Massimo Ambrosini headed home a cross from Kaka , who then wrapped up the scoring a minute from time .