I'm using this simple Bootstrap 4 Modal: https://getbootstrap.com/docs/4.0/components/modal/#modal-components
I show the modal with this tag:
<a href="#" data-toggle="modal" data-target="#exampleModal">
The Modal appears correctly.
The Modal has 2 buttons (cancel and save changes). How can I fire save button press to do some stuff and then close modal?