flash message and Add Patient button for search