Dialogs are used to bring temporary messages in an independent interactive features to Web applications that cannot be done by HTML. The applets are loaded automatically by JVM at runtime rather than executing on the server side..