1. A method comprising: by one or more computing devices, receiving, from an electronic device, a request, which causes a dialog to be displayed on the electronic device; selecting a rendered dialog template corresponding to the dialog, the rendered dialog template having been rendered for display on electronic devices; constructing a web page that includes the rendered dialog template; and sending, to the electronic device, the web page for display on the electronic device.