Close toolbar on submenu closing

 From:  vector illustrator (QUARITEXA)
9653.1 
I have small toolbar, based on moi:CommandButton and moi.ui.showMenu.
When I click tool in the submenu, the main toolbar window does not close. How do I get it to do this?
Image Attachments:
Size: 1 MB, Downloaded: 58 times, Dimensions: 573x386px