Ionic modal not hiding

i have a button ion nav button in header and i have kept a ionic modal in that button. When i click that button ionic modal shows and when i clicked outside of that modal it didn’t hide. What is the problem in that.

Check whether the > backdropClickToClose is set to true,by default it should be true.