controller for stdvar popup