This seemed redundant at first glance.  Maybe worth adding a comment that this is resolved in exact sync with with the Promise returned by ModalBar.close(), and we only need this wrapper because ModalBar's promise isn't created soon enough for us to return it directly?