added a close button, fixed formatting