getContentPane().add(BorderLayout.SOUTH,buttons);
content.add(BorderLayout.SOUTH,buttons);
	public CloseDialog(View view)	{		super(view,jEdit.getProperty("close.title"),true);		this.view = view;		getContentPane().add(BorderLayout.NORTH,new JLabel(			jEdit.getProperty("close.caption")));		bufferList = new JList(bufferModel = new DefaultListModel());		bufferList.setVisibleRowCount(10);		bufferList.addListSelectionListener(new ListHandler());		Buffer[] buffers = jEdit.getBuffers();		for(int i = 0; i < buffers.length; i++)		{			Buffer buffer = buffers[i];			if(buffer.isDirty())			{				bufferModel.addElement(buffer.getPath());			}		}		getContentPane().add(BorderLayout.CENTER,new JScrollPane(bufferList));		ActionHandler actionListener = new ActionHandler();		JPanel buttons = new JPanel();		buttons.add(save = new JButton(jEdit.getProperty("close.save")));		save.setMnemonic(jEdit.getProperty("close.save.mnemonic").charAt(0));		save.addActionListener(actionListener);		buttons.add(discard = new JButton(jEdit.getProperty("close.discard")));		discard.setMnemonic(jEdit.getProperty("close.discard.mnemonic").charAt(0));		discard.addActionListener(actionListener);		buttons.add(cancel = new JButton(jEdit.getProperty("common.cancel")));		cancel.addActionListener(actionListener);		bufferList.setSelectedIndex(0);		getContentPane().add(BorderLayout.SOUTH,buttons);		GUIUtilities.requestFocus(this,bufferList);		pack();		setLocationRelativeTo(view);		show();	}