Replace dialogs library.