if (!client.doYesNoDialog(title, body)) {
ConfirmDialog response = client.doYesNoBotherDialog(title, body); if ( !response.getShowAgain() ) { Settings.nagForNoAction = false; Settings.save(); } if ( !response.getAnswer() ) {
    private void moveTo(MovePath md) {        if (md.length() == 0 && Settings.nagForNoAction) {            //Hmm....no movement steps, comfirm this action            String title = "Remain stationary?";            String body = "This unit has not moved.\n\n" +                "Are you really done?\n";            if (!client.doYesNoDialog(title, body)) {                return;            }        }        if ( md != null ) {            if (md.hasActiveMASC() && Settings.nagForMASC) { //pop up are you sure dialog                Mech m = (Mech)ce();                ConfirmDialog nag = new ConfirmDialog(client.frame,"Are you sure?", "The movement you have selected will require a roll of " + m.getMASCTarget() + " or higher\nto avoid MASC failure.  Do you wish to proceed?", true);                nag.setVisible(true);                if (nag.getAnswer()) {                    // do they want to be bothered again?                    if (!nag.getShowAgain()) {                        Settings.nagForMASC = false;                    }                } else {                    return;                }            }            String check = doPSRCheck(md);            if (check.length() > 0 && Settings.nagForPSR) {                ConfirmDialog nag =                     new ConfirmDialog(client.frame,                                      "Are you sure?",                                       "You must make the following piloting\n" +                                      "skill check(s) for your movement:\n" +                                      check, true);                nag.setVisible(true);                if (nag.getAnswer()) {                    // do they want to be bothered again?                    if (!nag.getShowAgain()) {                        Settings.nagForPSR = false;                    }                } else {                    return;                }            }        }        disableButtons();        client.bv.clearMovementData();        client.moveEntity(cen, md);    }