private void addConfirmDialog()
{
/*
* Add the ConfirmDialog which will show up when refresh is clicked
*/
m_dlg = new ConfirmDialog("WidgetsConfirmDlg", Index.getStrings().sampleConfirm());
m_dlg.hide();
m_dlg.addCloseHandler(this);
m_dlg.setText(Index.getStrings().refreshSure());
m_dlg.addButton("btn1", Index.getStrings().proceed(), "OK");
m_dlg.addButton("btn2", Index.getStrings().cancel(), "CANCEL");