Login login = new LoginImpl(user, userType);
AccidentViewHandler accidentViewHandler = new AccidentViewHandler(
login, managerRepository);
AccidentModel accidentModel = new AccidentModel(new Accident());
final EditAccidentView editAccidentView = new EditAccidentView(false,
accidentModel, accidentViewHandler);
JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
protected JDialog executeInEDT() {