Close widget on lost focus

correction* solved problem ONE