popup works in ui