Prevent accidental editor button clicks on toggling

Bug: 56209
Change-Id: I4800887b5a945029d8357976083072abd3c9882d
Merge "Prevent accidental editor button clicks on toggling"