// one will use it by default
 void MyFrame::FileOpen2(wxCommandEvent& WXUNUSED(event) )
 {
-    wxOnAssert( "Test assert.txt", 20, "Test" );
-    return;
-
     static wxString s_extDef;
     wxString path = wxFileSelector(
                                     _T("Select the file to load"),
                                         "Find and replace dialog",
                                         wxFR_REPLACEDIALOG
                                       );
-    dialog->Show();
+    dialog->Show(TRUE);
 }
 
 void MyFrame::ShowFindDialog( wxCommandEvent& WXUNUSED(event) )
                                         // just for testing
                                         wxFR_NOWHOLEWORD
                                       );
-    dialog->Show();
+    dialog->Show(TRUE);
 }
 
 static wxString DecodeFindDialogEventFlags(int flags)