Disable header buttons while in edit mode.