surface functions that insert HTML and await a block now wait on either that block's completion or an error from an attached mechanism