Personally I prefer the pattern where alert is passed into AMD (like we did for refresh). Change or don't change, not major concern.