Disabling buttons throughout the dashboard while editing blocks