Don't overwrite Te details (win), closes #632
Close autocomplete when closing edit view (win)