This is based on a previous commit. The previous one had the problem that calling goToList included the edit window