this.updateCourseGradeDisplayWindow = new GbModalWindow("updateCourseGradeDisplayWindow");
this.form.add(this.updateCourseGradeDisplayWindow);
final AjaxButton addGradeItem = new AjaxButton("addGradeItem") {
@Override
public void onSubmit(final AjaxRequestTarget target, final Form form) {
<BUG>final GbModalWindow window = getAddOrEditGradeItemWindow();
window.setComponentToReturnFocusTo(this);</BUG>
window.setContent(new AddOrEditGradeItemPanel(window.getContentId(), window, null));
window.show(target);
}

this.updateCourseGradeDisplayWindow = new GbModalWindow("updateCourseGradeDisplayWindow");
this.form.add(this.updateCourseGradeDisplayWindow);
final AjaxButton addGradeItem = new AjaxButton("addGradeItem") {
@Override
public void onSubmit(final AjaxRequestTarget target, final Form form) {
final GbModalWindow window = getAddOrEditGradeItemWindow();
window.setTitle(getString("heading.addgradeitem"));
window.setComponentToReturnFocusTo(this);
window.setContent(new AddOrEditGradeItemPanel(window.getContentId(), window, null));
window.show(target);
}
