[FIX] web: correctly init searchview when no action_id

the method prepare_dropdown_menu wasn't called when the searchview did
not have an action id.  This can cause problems in some cases (for
example, a crash in messaging when toggling the favorite menu)