Hotfix: Defer showing the publish modal until after the project is rendered.