Submitting a form using a header button

Newest way to do this appears to be outlined here.