set popup window dismiss on touch outside