bug correction on listbox click under no item and added a close button to the window component