NewTaskPanel doesn't close entire window

When clicking X button
Refreshes when you edit the task name from the table