Added closing window when we are deleting the task.
Merge remote-tracking branch 'origin/master'