Suppress errors on dialog.php