Place button on panels to close

Would be nice to have a “Close” button on each panel, window, or screen that pops up rather than have to click elsewhere off of the popup to close it (like the example I’ve made shown in the white oval).