Fixed an issue with OnClick events for BootstrapButtons