add closeAll feature