Condition the editing navigation to not show up on error