This example shows how the prevent modifier behaves when applied on an ancestor element.