Ajax-fetch has something similar, and modal has a TODO to add something like this. @masterbee can you pick an implementation and add it to vapour?