preferences: it is a dialog not a normal window