[webui] use a common partial for all dialogs