Allow newTaskPanel to take a new task

For either adding or editing
Possible rename?