fix #1549 by looking at ModalViews before other elements
Merge pull request #1684 from kivy/fix_1549

fix #1549 by looking at ModalViews before other elements