show/hide section edit buttons when appropriate