Implemented Forget Password and Sign Up Modal to close after doing its job