functionLibraryListModel = new FunctionLibraryListModel();
JPanel panel = new JPanel(new BorderLayout());
if (document.getDocumentFile() == null) {
panel.add(new MessageBar("<html> <b>Please save your document first.</b></html>"), BorderLayout.NORTH);
} else {
ActionHeader actionHeader = new ActionHeader();
actionHeader.setLayout(new BoxLayout(actionHeader, BoxLayout.LINE_AXIS));
InsetLabel actionHeaderLabel = new InsetLabel("Code Libraries");
actionHeader.add(Box.createHorizontalStrut(10));