Disable toolbar buttons during edit mode