The TDialogButton component represents a dialog button control. A dialog button control allows the user to initiate a specific action by using a mouse click or by pushing the spacebar or enter key. In addition, the ModalResult property can be used when a dialog button control is placed on a modal form. If the ModalResult property is set, then clicking the dialog button control will automatically cause the form to close and return the same modal result in the ModalResult property for the form.