Remove old popup. Remove and sort usings. Remove test code open and close popup