Validated only one Preferences dialog is open at a time
commiting
final draft