Added focus function to popup
adsf