Show proper button bar in editor on errors

Errors happen when the preview is visible, not the textarea, so if an
error occurs when saving, we should show preview's button bar.

Change-Id: I1d1222770fa5b498877ba5b917bee7e013a2e780
Merge "Show proper button bar in editor on errors"