Display path detail modal only if user is comming from path list