Android, onPrepareDialog to update parameter-ized string not updating.
<p>This does not seem to be working. The alert dialogs are not even showing a title or message unless I set them in the onCreateDialog method.</p>

<pre><code>@Override
protected void onPrepareDialog(int id, Dialog dialog) {
    super.onPrepareDialog(id, dialog);

    switch(id) {
    case R.id.catalog_rename_dialog:
        ((AlertDialog) dialog).setTitle(getString(R.string.catalog_rename_prompt, catalogDb.getColumnById(selectedCatalogId, CatalogDbAdapter.KEY_NAME)));
        break;
    case R.id.catalog_delete_dialog:
        ((AlertDialog) dialog).setMessage(getString(R.string.delete_prompt, catalogDb.getColumnById(selectedCatalogId, CatalogDbAdapter.KEY_NAME)));
        break;
    }
}
</code></pre>
