if (serviceUid.equals(memo.getMode())) {
_screen.getModel().removeRowAt(i);
}
}
final Screen activeScreen = getActiveScreen();
if (activeScreen instanceof MemoScreen) {
final Memo activeMemo = ((MemoScreen) activeScreen).getMemo();
final int index = ((MemoScreen) activeScreen).getMemoIndex();
if (index == -1 || !activeMemo.getMode().equals(serviceUid)) {
// New memo with no wipable data, OK to save it.
activeScreen.onClose();
} else {
final Dialog dialog =
new Dialog(
Dialog.D_OK,
"Application has been instructed to wipe corporate data."