removes second pop up on prompt