added close button to non-school panes