How to reproduce: 1. Try to add the credential 1. Turn off the server for the time of server request 1. After the request fails, try to add another credential – the popup won't open