added popup box to display reason for search