src/PopupTools.js
function popup(url, name, options, callback) {
    return popupExecute(window.open, url, name, options, callback);
}
function popup(url, name, options, callback) {
    return popupExecute(window.open, url, name, options, callback);
}
Open a popup using the first argument.
Wait for it to close and call the callback.
Set the options string using the options object
Returns the window object

@param  {String} url
@param  {String} name
@param  {Object} options
@param  {Function} callback
@return {Object}