make preference dialog in the front.