I have two level submenu
Menu-> SubmenuPane A -> SubmenuPane B
I have a strange problem that when I click on any item in the SubmenuPane B, corresponding even handler gets called but submenuPane B does not get dismissed from the screen. It looses keyboard focus but remains there on screen on top of the application.
However, if I do not click any item and just press back arrow, it dismisses as expected.