Top-right button toggles editmode