Preparation for options dialog box.