Fix textcomplete with modal