Fix logic for displaying 'Save & Publish' and 'Create new edition' buttons.