It would be cool if it returned a promise that is resolved with the popup result (just maybe a 0 or 1).  We could add the same to modal.