add password check alert pop up but not working after click okay