A directive that prevents a button from submitting a form (or anything else).