remove newtododialog and typeahead on close