The CRUD::$menu gets destroyed based on model actions only.
It does not consider items added to menu by other parts of code (like addFilterColumn or addQuickSearch)
Empty menu is already being destroyed within its own getHtml method so these lines are not necessary