make entity info screen closable with inventory key