Also disables adding of planning elements.

Used to work in modals.