"Why doesn't close just hide the element?"

Because we could potentially having hundreds of invisible popups (as it is right now, each feature click would result in a new popup to be created, as well as each metadata, each help window, etc). We also can't re-use on single poupup, because we want to have multiple poupups open at the same time.