Window modalitycurtain will now respect $v-animations-enabled (#15135)

Change-Id: I80beea694c2a103aaf1fb479e1de48c515428fbb