Per last comment, we can simply call `openDialog(dialogID)` here. The submit and reset functions can be moved to hotspot_wifi_settings.js.