Hi,

I tried the "sports diary" example.

But in this example it doesn't mind if I select "save" oder "cancel" in the form. Everytime the new entry is saved.

And if I select "save" I have to select "cancel" too, to leave the form.

I tried with the "save_hook" attribute. It is called when "save" is selected. But I can't close the form from there.

How can I achieve a reasonable behavior of the form?