1629356a6d
The onSave callback was being executed immediately on modal open (its purpose is to wire up event listeners), causing the required-fields error to appear instantly and leaving the form with no way to submit. Both forms now include modal-actions buttons in the content HTML, and onSave correctly attaches a submit event listener instead of running validation directly. Fixes #128 Co-authored-by: Ulas Kalayci <ulas.kalayci@googlemail.com>