Fix todo dialog
When editing a TODO entry and then cancelling the edit, if the user tried to add a new one, the previous info where still displayed and modified if the dialog was accepted instead of creating a new entry.
The informations are now cleared fron the dialog each time it closes.