clear item click after opening the popup