Almost working popup menu