fix searching to not constantly bombard api after typing a letter in a constant loop, add a method to properly bubble up the showModal method to the application route in a proper way