Detect if button in accordion has been left open