border radius on popups and close popups on vid end