Added a close button to the Popup class

A formatted button with an "x" that closes the popup when you click on it. Must explicitly set config.closeButton to "true" for it to enable.