Optimized autosuggestion closing behaviuor