Fixed KeyNotFoundException when trying to hide a dialog for a player while no dialog has been opened, fixes #11