fixed the issue with the popup fadeouts