cleanup Popupmenu calling