Fix button issues in bootstrap has-form dropdown