     }
     
     fileprivate func loadQueryInCurrentTab(query: String) {
-        dismissAutcompleteSuggestions()
         if let queryUrl = AppUrls.url(forQuery: query) {
             currentTab?.load(url: queryUrl)
         }

    }
    
    func onOmniQuerySubmitted(_ query: String) {
        loadQueryInCurrentTab(query: query)
    }
    
    func onActionButtonPressed() {
        if let current = currentTab, let index = tabManager.indexOf(tab: current) {
            remove(tabAt: index)
        }

    }
    
    fileprivate func dismissOmniBar() {
        omniBar?.resignFirstResponder()
        dismissAutcompleteSuggestions()
        refreshOmniText()
        currentTab?.omniBarWasDismissed()
