Fixed? a bug when dismissing the create modal.

When creating a file in the repo, the modal dialog was being dismissed
and the page redirected prior to the main nav getting the signal to
slide back into view.