Prevent collapse when click button.