Catch submit event of form to create and edit task

This allows to use « enter » to create or edit a task because there is
a new event caught, the submit one.
ref #176