comment.addCommentType(CommentTypeUtil.getCommentType("Bruker"));
CommentViewHandler preventiveActionCommentViewHandler = new CommentViewHandler(
login, (PreventiveActionManager) overviewManager);
EditCommentView editDeviationCommentView = new EditCommentView(
new PreventiveActionCommentModel(comment),
preventiveActionCommentViewHandler);
JDialog dialog = Util.getDialog(window, "Legg til kommentar", true);
dialog.setName("EditDeviationCommentView");
WindowInterface dialogWindow = new JDialogAdapter(dialog);