Fixing close email/sms dialogs uiactivity.