Select the Perform Script option. Many developers use only that option with buttons so that they can update button behavior easily even when the button is pasted onto many different layouts.
Then you can have the button perform a script to do what you want:
Show Custom Dialog ["Create New Record?"]
If [Get (LastMessageChoice ) = 1 // OK was clicked ]