hocam o sistemin doğru yapısı ajax ile modal ı çekmektir.Yaptığınız şekilde gereksiz yere sayfada modal html kodu eklemiş oluyorsunuz.