main: Hide close button when in selection mode