Fix bug retrieving dialog metadata version from cache