remove context from dialog boxes so popups work right