Prevent a race condition between "Replacing text" label and the save dialog, probably...