I think he is going to stay here for the foreseeable future as we may well have priced Madrid out of a move for him by handing him a very lucrative deal (~£200k/week according to reports at the time). Before Dave signed his new contract he was on ~£80k/week, so it would have still made sense in terms of career progression to sign the ~£150k/week contract that Madrid had offered him (and reject United’s offer) as he was still getting a considerable raise from his old United contract and getting to go play in his hometown. With the new contract, he’d probably need to take a sizeable wage cut to sign for Madrid as don’t think Madrid will be willing to pay such a high salary to a goalkeeper (on top of the gigantic transfer fee that United will demand now that the release clause is set to expire).