Add close button to style panel and text editor panel
(from WIP UI updates)