As others have said "use keyboard for navigation" works, but also you can generally press any button with the shortcut cmd-first-letter-of-button-text. E.G., if the dialog is "delete" and "cancel" and cancel is the default, cmd-D should press "delete". "replace" and "cancel", cmd-R should press "replace". Etc