Removes a spacer when modals are not used.