Show sidebar only on edit