make preview and authoring actions enabled only when item has a content