apply popup windows to the menu buttons