close agenda on click