popup controls should show correct state