Hide a HildonAppMenu only when there's a modal window below it
Hide a HildonAppMenu only when there's a modal window below it

Since there are many types of harmless windows that can appear below a
HildonAppMenu, don't hide it unless one of those windows is modal.

Use also a small timeout to check for intruder windows to avoid race
conditions.

Fixed: NB#150319 (HildonAppMenu doesn't show when another top level
widget is around)

Cordia/libhildon,android-808/libhildon,Cordia/libhildon,Cordia/libhildon,android-808/libhildon,android-808/libhildon