Fix #9975.

Ensure the dialog informing corrupt preferences file on start-up is modal (that the underlying editor does not have focus).