made ei search dialogue more robust