977580: Preferences dialog hide and show