Fixed bug where publish modal was not showing up.

The JS/CSS isn't great for this - but we're changing up the modal markup in the next PR anyway so no bigs.