m_caption.setStyleName(I_LayoutBundle.INSTANCE.dialogCss().caption());
// Add the caption to the top of the popup-panel. We need to
// logically adopt the caption so we can catch mouse events.
DOM.appendChild(m_containerElement, m_caption.getElement());
adopt(m_caption);
m_children = new WidgetCollection(this);
m_main = DOM.createDiv();
m_main.addClassName(I_LayoutBundle.INSTANCE.dialogCss().popupMainContent());
m_main.addClassName(I_LayoutBundle.INSTANCE.dialogCss().contentPadding());
DOM.appendChild(m_containerElement, m_main);
m_buttonPanel = new ButtonPanel();