ReplaceDialog: don't use the regex-state property