popup: removing popup in outside click