make options panel a dialog