resize settings dialog box to fit contents