if (message != null) {
String url = Pattern.quote(message.channel.getContextUrl());
Session session = Model.getSingleton().getSession();
context.addExcludeFromContextRegex(url);
session.saveContext(context);
View.getSingleton().showSessionDialog(session, ContextExcludePanel.getPanelName(context.getIndex()));
}
}