#2404 Modal open calls should complete in order

Modal open calls wait on template and resolve promises.  Even though the
resolution order of the promises among different modals is
non-deterministic, the open calls should complete in the same order they
were invoked.