Better default form submit handler