make dialog resizable