Use a modal for dialog boxes, confirmation messages, or other content that can be called up. In order for the modal to work you have to add the Modal ID to the link of the trigger.

Modal Demo

To add a close button, just add the class .modal-closeto your button.

Modal

Modal with Color