Closed sidebar and display preview in authoring a new file mode