move to IS_POPUP_VAR from admin.options for 1.6 compat