Happy Ending to the Netbeans "Replace Dialog" tale