Fixed bug where publish modal was not showing up.
Merge pull request #469 from lpachols/publish_fix

Fixed bug where publish modal was not showing up.