Fix edit task view not being closed on save.