Destroy the dialog box only if it exists.

dialogContent.dialog( "destroy" ) cannot not be called if the dialog has not been initialized.