This no longer exists, so an exception is thrown when the dialog is closed.