Dialog setters

These functions can be used to set attributes that are common to all types of dialogs, unless specifically noted by a particular dialog type.