 <p>You don't. Its a dialog from another app, you can't close it. Which is why the general rule is not to use USSD for anything in Android- not only is it not portable across carriers, but there is no real USSD API- you can just sort of kind of hack some of it together (not to mention that USSD is a hack itself that should die now that web services and data connections exist).</p>