Modal popup returns a promise

@jcollins1991