modified modal using ajax