add offer check and offer modal template