PopupMenu implementation added.