private void pleaseMove(MSPanel p, Move movement) {
	if (!curr_page.okToNav()) {
	    int answer = JOptionPane.showConfirmDialog(this, "You may have some unsaved changes. Are you sure you want to navigate away?", "Navigate away?", JOptionPane.YES_NO_OPTION);
	    if (answer == JOptionPane.YES_OPTION) {
		curr_page.setOkToNav();
		pleaseMove(p, movement);
	    }
	} else {
	    curr_page.setVisible(false);
	    remove(curr_page);

	    if (movement == Move.AHEAD) {
		pages.push(curr_page);
		curr_page = p;
	    } else if (movement == Move.BACK) {
		System.out.println("Going back.");
		curr_page = pages.pop();
	    } else {
		System.out.println("You should never see this.");
	    }

	    showPage(curr_page);
	}
    }