added 'close' checkbox to close-out panel