fixed issue with playerwaiting closeModal()