Manually showing modal only when search terms are present