The answer to your specific question is no, you can't specify what the client does with the mailto: command, besides specifying basic properties, such as subject and body text. However, if the client doesn't have an email program set up, a dialog like the one you describe will probably pop up. The web page you saw most likely uses a server-side script such as PHP. You can easily get a copy-and-paste PHP email script by
googling it.