Load Modal html by ajax in view Cakephp 3.2

Hello guys.I have a problem in View cakephp 3.2.when i am going to make modal in cakephp after load i can see my content after 2 second modal redirect to Home page !.I checked console log in fire bug.It seems sent ajax request for my modal but my modal is loaded without ajax request.I don’t want load modal with ajax.do you have Experience in this problem? Thanks .