check = function () {
                if ((elLog && elLog.scrollTop !== null) && (elCover && elCover.scrollTop !== null)) return;
                else check();
            }
Create a dialog box

@param  {String}   message        The message passed from the callee
@param  {String}   type           Type of dialog to create
@param  {Function} fn             [Optional] Callback function
@param  {String}   placeholder    [Optional] Default value for prompt input field
@param  {String}   cssClass       [Optional] Class(es) to append to dialog box

@return {Object}