move preferences out of tab to dialog