adds tasks, button to close the task