Simple Popup

You can open only one popup at a time. The popup can be either modal or not. If popup is modal, then it can only be closed if user clicks the cross button or as a developer you can provide a button that closes the popup. If popup is not modal, then clicking outside of the popup will close it.
function popup() { w2popup.open({ title: 'Popup Title', body: '
This is text inside the popup
' }); }