The form UI Component does not have a <form> HTML tag, so the classic way for forms does not work. How it works:
<form>
See also:
beforeSave()