<p>Fired when loading a dialog for the rich text editor.</p>

<p>Callback signature:</p>
<blockquote><code><em>array</em> &amp;$data, <em>\XF\Mvc\Controller</em> $controller</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>array</em> &amp;$data</code> - The data for the dialog view. Contains 3 keys: view (view class to be loaded), template (name of template to be displayed), and params (array of data to be passed to the view/template).</li>
	<li><code><em>\XF\Mvc\Controller</em> $controller</code> - The controller triggering this event.</li>
</ol>

<p><b>Event hint:</b> The name of the dialog as passed into the <code>XF\Pub\Controller\Editor::loadDialog</code> method. Note the event hint will be an alphanumeric version of the dialog name.</p>