Because they might want to make it so that the dialog can be attached (docked) to other dialogs and will then move/resize with that other dialog, or because they want the dialog to be able to be docked to the interface at the users discretion (like the switchbar).