remove unused references on TPopup