Update dialogs.php