Fix close button appearance and function in Auth dialog