What you're describing doesn't match the GNOME HIG. Buttons should actually be on the bottom for dialogs that require you to read through and then make a choice: https://developer.gnome.org/hig/stable/dialogs.html.en
The buttons should only placed in the headers for other dialogs that require more explicit actions before the dialog can be dismissed, such as the file selection dialog.