Dont' show metaboxes restricted to template if post is not published
return if post id is not set
Merge pull request #234 from humanmade/hide-template-metaboxes-before-template-set

Hide template metaboxes before template set