enable close and save only if editors showns and there is a page
fixed menu flags for file new