commit popupmenu