Here is an example for a Bootstrap modal with content and cancel button:
The following example shows how the modal can be generated with several buttons and contents.