Close edit popup on logout (win), closes #980