Close errorbox on successfull login (osx)