add relative position options, hook up close button