popup controls working